Letsencrypt

From annawiki
Revision as of 2022-06-27T15:48:21 by Tobiasco (talk | contribs) (→‎Configuration)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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