This site has no ads. To help with hosting, crypto donations are accepted:
Mon, 02 May 2016
Free (Website) SSL with LetsEncrypt
Last I checked reading about LetsEncrypt can make one a bit dizzy, but
if you follow these steps it is really very straight forward:
- FIRST install the LetsEncrypt package. For a newer Linux distro, that might
be "apt-get install python-letsencrypt" or "yum install python-letsencrypt".
If not, "pip install letsencrypt" will do just fine.
- Then generate your certificate for domain sub.domain.net:
letsencrypt certonly --webroot -d sub.domain.net --webroot-path=/var/www/html/
- Add the path to the cert and key to your https Apache VirtualHost:
- And finally add a cron job to attempt a renewal every couple of weeks.
letsencrypt renew --webroot --webroot-path=/var/www/html/ | mail -s 'renew LetsEncrypt SSL' firstname.lastname@example.org"
On the subject of renewals, as I recall every issued certificate expires after three months,
and becomes eligible for renewal after two months. A two week period seems just about right.
posted at: 07:54 | path: /Admin/SSL | permanent link to this entry