Let's Encrypt and certbot

From Elvanör's Technical Wiki
Revision as of 12:35, 29 October 2019 by Elvanor (talk | contribs) (Created page with "= 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump 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