Let's Encrypt and certbot: Difference between revisions

From Elvanör's Technical Wiki
Jump to navigation Jump to search
(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...")
 
mNo edit summary
 
Line 13: Line 13:
= Renewal =
= Renewal =


* You just need to run the following command (for every domain you need to renew):
* 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 www.elvanor.net
  certbot --apache certonly -d wiki.elvanor.net
  certbot --apache certonly -d wiki.elvanor.net
certbot --apache certonly -d documents.elvanor.net

Latest revision as of 12:10, 27 January 2020

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