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 | ||
=== Enable jessie-backports === | |||
<pre> | |||
$ echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list | $ echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list | ||
</pre> | |||
I had to add the testing repo temporarily. | |||
=== Install certbot === | |||
<pre> | |||
$ sudo apt-get install python-certbot-apache -t jessie-backports | |||
</pre> | |||
=== Obtain / Renew certs === | |||
<pre> | |||
$ sudo certbot renew --dry-run | |||
</pre> | |||
== Old method < 2016-06 == | == Old method < 2016-06 == |
Revision as of 20:33, 16 July 2016
certbot
Enable jessie-backports
$ echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list
I had to add the testing repo temporarily.
Install certbot
$ sudo apt-get install python-certbot-apache -t jessie-backports
Obtain / Renew certs
$ sudo certbot renew --dry-run
Old method < 2016-06
https://letsencrypt.org/howitworks/
$ git clone https://github.com/letsencrypt/letsencrypt $ cd letsencrypt $ ./letsencrypt-auto --help $ ./letsencrypt-auto --apache IMPORTANT NOTES: - Congratulations! Your certificate and chain have been saved at /etc/letsencrypt/live/drew.invadelabs.com/fullchain.pem. Your cert will expire on 2016-05-15. To obtain a new version of the certificate in the future, simply run Let's Encrypt again. - If you like Let's Encrypt, please consider supporting our work by: Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate Donating to EFF: https://eff.org/donate-le
Per domain:
./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