Created
July 3, 2018 09:48
-
-
Save matinrco/b2a5a0089fc6364873500eac2f3f218b to your computer and use it in GitHub Desktop.
Let’s Encrypt - issue certificates with certbot-auto and renew how to - with DNS TXT domain validation
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
| #this file is not ready for execution | |
| #go to /opt to download certbot-auto | |
| cd /opt | |
| wget https://dl.eff.org/certbot-auto | |
| #correct permissions | |
| chmod a+x certbot-auto | |
| #issue a certificate from CA | |
| sudo /opt/certbot-auto certonly --manual --preferred-challenges dns -d test.example.com -m me@example.com --agree-tos |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
from : https://serverfault.com/a/812038