Last active
May 18, 2020 11:53
-
-
Save kerasai/8ea3a51dd938590710af8896583bfd98 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
certbot certonly --manual --preferred-challenges dns -d '*.domain.com' -d domain.com | |
# Will have to add 2 DNS records in separate steps. | |
# Verify records are there. | |
nslookup -q=txt _acme-challenge.domain.com | |
dig -t txt _acme-challenge.domain.com +short | |
# Place files, if needed. | |
# Restart webserver. | |
# Inspect updated cert. | |
echo | openssl s_client -servername domain.com -connect domain.com 2>/dev/null | openssl x509 -noout -dates |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment