Let's Encrypt and certbot

From Elvanör's Technical Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

certbot

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

Installation

  • 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).

Renewal

  • 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