Created
July 27, 2022 07:30
-
-
Save sonuame/70271f2657a999aadf1094b49a244205 to your computer and use it in GitHub Desktop.
Nginx DNS Challenge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-add-repository ppa:certbot/certbot | |
sudo apt install certbot | |
wget https://github.com/joohoi/acme-dns-certbot-joohoi/raw/master/acme-dns-auth.py | |
chmod +x acme-dns-auth.py | |
nano acme-dns-auth.py | |
# change #!/usr/bin/env python to #!/usr/bin/env python3 | |
sudo mv acme-dns-auth.py /etc/letsencrypt/ | |
sudo certbot certonly --manual --manual-auth-hook /etc/letsencrypt/acme-dns-auth.py --preferred-challenges dns --debug-challenges \ | |
-d *.your-domain \ | |
-d your-domain |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment