Renew Let’s Encrypt Certificate with DNS Challenge and Namecheap

The certificate is going to expire is less than a week.

Step 1: Renew command interactive mode

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

Step 2: Update DNS TXT record for _acme-challenge

Navigate to Advanced DNS
Add or modify _acme-challenge with generated token

Step 3: Verify DNS TXT record is updated

dig -t txt _acme-challenge.DOMAIN
Verify the _acme-challenge with newly updated token

Step 4: Complete the renew

Step 5: Update your certification in your application (optional)

Certificate is renewed with new expiry date.




Blockchain, Kubernetes, DevOps and Coffee

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Retrofit vs Volley

Can Kanban Improve Your IT Workflow?

Experienced Big Data Software Engineering BUT using Windows — how is it possible?

Add your Github profile Readme

Leetcode 1051. Height Checker

Nexthash’s referral profits will be twice as high as similar programs

CompTIA Linux+ Exam Question Part 2

Coding newsletters for Outlook

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
Ong Khai Wei

Ong Khai Wei

Blockchain, Kubernetes, DevOps and Coffee

More from Medium

Access ORACLE (OCI) mysql instance from public internet

How to perform subdomain based routing using AWS with an application load balancer and Elastic…

Using Logstash to scan inside event contents to replace sensitive data with a consistent hash