Switch to certbot acme v2

main
Bob Mottram 2020-09-13 18:09:57 +01:00
parent 08c18607d0
commit 7cebf0562e
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ ln -s /etc/nginx/sites-available/YOUR_DOMAIN /etc/nginx/sites-enabled/
Generate a LetsEncrypt certificate. Generate a LetsEncrypt certificate.
``` bash ``` bash
certbot certonly -n --server https://acme-v01.api.letsencrypt.org/directory --standalone -d YOUR_DOMAIN --renew-by-default --agree-tos --email YOUR_EMAIL certbot certonly -n --server https://acme-v02.api.letsencrypt.org/directory --standalone -d YOUR_DOMAIN --renew-by-default --agree-tos --email YOUR_EMAIL
``` ```
And restart the web server: And restart the web server: