Astuce pour ajouter des domaines au certificat

This commit is contained in:
btatu 2023-09-22 11:32:16 +02:00
parent 0ef8b43b5d
commit 8b05063b1e

View file

@ -203,6 +203,13 @@ Pour exécuter un hook manuellement, par exemple après la création du certific
$ VERBOSE=1 RENEWED_LINEAGE=/etc/letsencrypt/live/<cert-name> /etc/letsencrypt/renewal-hooks/deploy/<hook>.sh
~~~
## Ajouter des domaines au certificats
Il y a besoin de préciser le nom du certificat avec les anciens et nouveaux domaines à certifier :
~~~
certbot certonly --webroot --webroot-path /var/lib/letsencrypt/ --cert-name domaine.net --expand -d nouveau-domaine.net,ancien-domaine.net --test-cert --dry-run
~~~
## Liste des certificats