-
Notifications
You must be signed in to change notification settings - Fork 7
Certificate Renewal
Arpit Saxena edited this page May 10, 2022
·
4 revisions
- Run
sudo certbot renew
- Run the command
sudo certbot certonly --manual --preferred-challenges dns --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!