Letsencrypt: Difference between revisions

From annawiki
Line 14: Line 14:
without www
without www
  certbot certonly --webroot -w /var/www -d anna.info --rsa-key-size 4096
  certbot certonly --webroot -w /var/www -d anna.info --rsa-key-size 4096
if (only) X domains are removed, it could be needed to use --force-renew
 
  certbot certonly --webroot -w /var/www -d anna.info --rsa-key-size 4096 --force-renew
https://eff-certbot.readthedocs.io/en/stable/using.html#changing-a-certificate-s-domains
  certbot certonly --cert-name example.com -d example.com


==Issues==
==Issues==

Revision as of 2022-06-27T15:46:43

Configuration

Key size 4096

letsencrypt run --domains anna.info www.anna.info --rsa-key-size 4096
certbot certonly --webroot -w /var/www -d anna.info,www.anna.info --rsa-key-size 4096
alias get-cert='letsencrypt certonly -d'
alias letsencrypt='certbot --webroot -w /var/www --rsa-key-size 4096'

SSLCipherSuite ...

without www

certbot certonly --webroot -w /var/www -d anna.info --rsa-key-size 4096

https://eff-certbot.readthedocs.io/en/stable/using.html#changing-a-certificate-s-domains

certbot certonly --cert-name example.com -d example.com

Issues

Having VirtualHost

ServerName anna.info
ServerAlias www.anna.info

running

letsencrypt run --domains www.anna.info

may remove a prior cert for anna.info