-
Notifications
You must be signed in to change notification settings - Fork 7
Certificate Renewal
- Run
sudo certbot renew
sudo certbot certonly --manual --manual-public-ip-logging-ok -d 'devclub.in'
Create the challenge file in /var/www/html/letsencrypt/.well-known/acme-challenge/
Press ENTER in certbot terminal
Reload nginx
nginx -s reload
- Run the command
sudo certbot certonly --manual --server https://acme-v02.api.letsencrypt.org/directory --manual-public-ip-logging-ok -d '*.devclub.in'
in a tmux window. It will give you a TXT record to be added. DO NOT PRESS ENTER until step two is complete, and detach that tmux window.
-
Login to CloudFlare and add that TXT record (you will only have to modify its value for renewal) and wait for 2 hours until the value has been updated. You can check this by
nslookup -type=TXT _acme-challenge.devclub.in
in a separate terminal on the same VM. Only if you get the updated value by the nslookup command, proceed to step three. I repeat DO NOT PRESS ENTER in the first terminal. -
Press enter in the first terminal window.
-
Reload nginx (
nginx -s reload
) and enjoy!