Skip to content

Instantly share code, notes, and snippets.

@matinrco
Created July 3, 2018 09:48
Show Gist options
  • Select an option

  • Save matinrco/b2a5a0089fc6364873500eac2f3f218b to your computer and use it in GitHub Desktop.

Select an option

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 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
@matinrco
Copy link
Copy Markdown
Author

matinrco commented Jul 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment