Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 797 Bytes

letsencrypt.md

File metadata and controls

32 lines (21 loc) · 797 Bytes

Installing SSL certificates with letsencrypt and certbot

Useful tutorial here

Install certbot

sudo add-apt-repository ppa:certbot/certbot

sudo apt-get update

sudo apt-get install python-certbot-apache

Install certificates

Best to install all subdomains along with root domain

sudo certbot --apache -d example.com -d www.example.com

Delete a cerificate

Note this will cause apache errors, as references to the cart are not removed. Best to a2dissite the site first.

certbot delete

Check renewal status

sudo apt-get ssl-cert-check
su root
cd /etc/letsencrypt/live
ssl-cert-check <my_domain>/cert.pem