Renew Let’s Encrypt Certificate with DNS Challenge and Namecheap

The certificate is going to expire is less than a week.
sudo certbot certonly --manual
certbot will prompt for domain name
certbot will prompt to log IP address
New token will be generated to update _acme-challenge record in DNS
Navigate to Advanced DNS
Add or modify _acme-challenge with generated token
dig -t txt _acme-challenge.DOMAIN
Verify the _acme-challenge with newly updated token
Certificate is renewed with new expiry date.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store