LetsEncrypt: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== certbot == | == certbot == | ||
* https://certbot.eff.org/#debianjessie-apache | * https://certbot.eff.org/#debianjessie-apache | ||
=== Install certbot === | === Install certbot === | ||
Line 30: | Line 23: | ||
</pre> | </pre> | ||
== Old method | == Old method == | ||
<pre> | <pre> | ||
./letsencrypt-auto run --apache -d drew-bg.invadelabs.com | ./letsencrypt-auto run --apache -d drew-bg.invadelabs.com |
Revision as of 23:51, 16 December 2017
certbot
Install certbot
$ sudo apt-get install python-certbot-apache -t jessie-backports
Obtain / Renew certs
Dry-run:
$ sudo certbot renew --dry-run
Update:
$ sudo certbot renew
Add to root's cron and check twice daily:
0 3,15 * * * certbot renew --quiet
Old method
./letsencrypt-auto run --apache -d drew-bg.invadelabs.com - Congratulations! Your certificate and chain have been saved at /etc/letsencrypt/live/drew-bg.invadelabs.com/fullchain.pem. Your cert will expire on 2016-07-09. To obtain a new version of the certificate in the future, simply run Let's Encrypt again. SSLCertificateFile /etc/letsencrypt/live/drew-bg.invadelabs.com/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/drew-bg.invadelabs.com/privkey.pem Include /etc/letsencrypt/options-ssl-apache.conf