GreG

#GeeK #Domotique #Alire

Utilisation Letsencrypt avec Apache

Publié le 6 juin 2016

746

 

Utilisation avec un serveur Apache sous debian/ubuntu

  • Installation :
apt-get update
apt-get install git
git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt --depth=1

 

  • Configuration auto :
/opt/letsencrypt/letsencrypt-auto

 

  • Création d’un certificat :
/opt/letsencrypt/letsencrypt-auto certonly
  • Ajout certificat intermediaire :
cd /etc/apache2/
wget https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.pem

 

  • Ajout dans votre vhost Apache :

SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/mondomaine.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/mondomaine.com/privkey.pem
SSLCertificateChainFile /etc/apache2/lets-encrypt-x3-cross-signed.pem
  • Renouvellement d’un certificat :
/opt/letsencrypt/letsencrypt-auto certonly --webroot -w /home/monsite/public_html/monrep/ -d mondomaine.com --email=spam@gergosnet.com --agree-tos --renew-by-default

 

Sources :

  • https://mondedie.fr/viewtopic.php?id=7414
  • https://www.grafikart.fr/formations/serveur-linux/apache-ssl-letsencrypt
  • Renouvellement : https://blog.gaetan-grigis.eu/securite/certificat-letsencrypt-installation-et-renouvellement/
Share Button
Posté dans : Linux, Reseau
Tag :
apache, letsencrypt, linux, ssl

Articles récents

  • Install mtr sur Mac OSX M1
  • Serveur PTP linux
  • Postfix « message file too big »
  • Suivre sa consommation d’eau jour, semaine, mois, année avec Eedomus et réaliser enfin des économies
  • Comment automatiser et externaliser les sauvegardes de Jeedom sur NAS Synology

Archives

  • février 2022
  • juin 2019
  • juin 2018
  • février 2018
  • janvier 2018
  • novembre 2017
  • octobre 2017
  • septembre 2017
  • août 2017
  • juillet 2017
  • juin 2017
  • mai 2017
  • avril 2017
  • mars 2017
  • février 2017
  • janvier 2017
  • décembre 2016
  • novembre 2016
  • octobre 2016
  • septembre 2016
  • août 2016
  • juillet 2016
  • juin 2016
  • mars 2016
  • février 2016
  • janvier 2016
  • décembre 2015
  • novembre 2015
  • octobre 2015
  • septembre 2015
  • août 2015
  • juillet 2015
  • juin 2015
  • mai 2015
  • avril 2015
  • août 2014
  • juillet 2014
  • juin 2014
  • mai 2014
  • avril 2014
  • mars 2014
  • février 2014
  • janvier 2014

Mots-clés

30ans alf alire android apple bio chine chocolat cloud dolorean domotique espace geek google gopro hubic humour inconnus ios iphone linux m&ms mac macbook maman mediacenter montre ovh parrot pebble plante pub radioshack raid redbull reseau sense Skittles stockage stream surveillance veille video vidéos wood

Catégories

  • 80s
  • Alire
  • Android
  • Apple
  • Bio
  • Chocolat
  • Cloud
  • Domotique
  • Drone
  • Exploit
  • Geek
  • Humour
  • Linux
  • Mediacenter
  • Non classé
  • Reseau
  • Smartphone
  • veille

Copyright © 2025 GreG.