Skip to content

Latest commit

 

History

History
79 lines (56 loc) · 2.98 KB

README.md

File metadata and controls

79 lines (56 loc) · 2.98 KB

jeedomssl

/!\ Ne fonctionne plus /!\ No longer working

English below

FRENCH :

Il s'agit d'un script pour ajouter let's encrypt sur votre installation jeedom sous apache uniquement (pas sur nginx). Tester sur debian 9,10. Il faut exécuter le script en root.

Utilisation :

bash jeedomssl.sh jeedom.youdomain.co youaddress@email.mail A exécuter en root

Le script fait ceci (dans l'ordre):

  • Vérifie que la commande lancée (bash jeedomssl.sh jeedom.ledomaine.fr votremail@mail.com)
  • Installation outils net-tools et dnsutils, certbot
  • Vérifie que le domaine pointe bien vers l'ip de votre modem
  • Vérifie que http est bien en écoute sur le port 80
  • ajoute le mod ssl
  • reload apache
  • installation de certbot-auto
  • Création des dossiers pour certbot
  • Création des certificats SSL
  • Création du vhost SSL
  • Ajoute une cron pour le renew du certificat
  • Vérifie la configuration apache

Prérequis

Votre box jeedom doit avoir un accès internet ainsi que les ports 80 et 443 NATé depuis votre modem vers votre box jeedom. Pour naté les ports :

Sur livebox :

Sur Box SFR NB6 :

Sur Freebox V6 :

Sur Freebox mini 4K :

Sur Freeboc V5/Crystal :

Pour une plus grande efficacité, merci de ne pas utiliser les domaines freeboxos, synology.me etc.. vous pouvez vous procurer un domaine .ovh pour 1,19 € TTC la première année puis 3,59 € TTC pour une année suivante.ICI

ENGLISH :

Its a script for adding let's encrypt certificat in your DIY Jeedom on apache not in nginx.

Tested with debian 9 after fresh install.

How to :

bash jeedomssl.sh jeedom.youdomain.co youaddress@email.mail Execute on root user

  • Check that the command launched (bash jeedomssl.sh jeedom.ledomaine.fr youremail@mail.com)
  • Install tools net-tools and dnsutils
  • Check if the domain is pointing to your ip
  • Check that http is listening on port 80
  • add ssl mod
  • reload apache
  • certbot-auto installation
  • Creating folders for certbot-auto
  • Creating SSL Certificate
  • Creation vhost SSL
  • Adds a cron for the certificate renew
  • Check apache configuration

Prerequisites

Your jeedom box must have internet access as well as ports 80 and 443 NAT from your modem to your jeedom box.

For greater efficiency, please do not use freeboxos domains, synology.me etc... you can get a domain .ovh for 1.19 € TTC the first year then 3.59 € TTC for a following year.HERE

See you w4zu.