Certbot

Certbot is a tool that comes with letsencrypt to automatize renewal of certificates.

– install it with your linux distribution
– to install a certificate run
sudo certbot --nginx -d example.com -d www.example.com

  • install it with your linux distribution
  • to install a certificate run

sudo certbot --nginx -d example.com -d www.example.com

  • For debian and nginx, you’ll have to run the following command :

sudo certbot --authenticator standalone --installer nginx -d <domain> --pre-hook "systemctl stop nginx" --post-hook "systemctl start nginx"

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *