Skip to content

Instantly share code, notes, and snippets.

@helloimalemur
Created December 19, 2023 19:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save helloimalemur/aa6ef0c444696bd5b64c14b3f0c64bf1 to your computer and use it in GitHub Desktop.
Save helloimalemur/aa6ef0c444696bd5b64c14b3f0c64bf1 to your computer and use it in GitHub Desktop.
Let’s Encrypt Certificate with DNS Challenge and Namecheap

Install Let’s Encrypt Certbot

apt install certbot

Generate new certificate using Certbot

certbot certonly --manual --preferred-challenges dns -d "*.DOMAIN"

Setting DNX TXT ACME Challenge in Namecheap

nslookup -type=TXT _acme-challenge.DOMAIN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment