Let's Encrypt and certbot

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

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):
certbot --apache certonly -d www.elvanor.net
certbot --apache certonly -d wiki.elvanor.net