Let's Encrypt and certbot

From Elvanör's Technical Wiki
Jump to navigation Jump to search


  • You need to emerge the package corresponding to your web server, for instance app-crypt/certbot-apache or app-crypt/certbot-nginx.


  • Run the following command which will automatically modify your vhost configuration, adding what is needed:
certbot --apache -d www.elvanor.net
  • It seems to work only if you already have a running Apache server with this host being served (plain HTTP is OK).


  • You just need to run the following command (for every domain you need to renew), and restart Apache afterwards:
certbot --apache certonly -d www.elvanor.net
certbot --apache certonly -d wiki.elvanor.net
certbot --apache certonly -d documents.elvanor.net