Letsencrypt

From annawiki

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
certbot certonly --webroot -w /var/www --cert-name anna.info -d anna.info --rsa-key-size 4096

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