Letsencrypt: Difference between revisions

From annawiki
 
(One intermediate revision by the same user not shown)
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
  certbot certonly --webroot -w /var/www --cert-name anna.info -d anna.info --rsa-key-size 4096


==Issues==
==Issues==

Latest revision as of 2022-06-27T15:48:21

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