File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ ### Installing SSL certificates with letsencrypt and certbot
2+
3+ [ Useful tutorial here] ( https://www.digitalocean.com/community/tutorials/how-to-set-up-let-s-encrypt-certificates-for-multiple-apache-virtual-hosts-on-ubuntu-14-04 )
4+
5+ #### Install certbot
6+ ```
7+ sudo add-apt-repository ppa:certbot/certbot
8+
9+ sudo apt-get update
10+
11+ sudo apt-get install python-certbot-apache
12+ ```
13+
14+ #### Install certificates
15+ Best to install all subdomains along with root domain
16+
17+ ` sudo certbot --apache -d example.com -d www.example.com `
18+
19+ #### Delete a cerificate
20+ Note this will cause apache errors, as references to the cart are not removed. Best to a2dissite the site first.
21+
22+ ` certbot delete `
23+
24+ #### Check renewal status
25+
26+ ```
27+ sudo apt-get ssl-cert-check
28+ su root
29+ cd /etc/letsencrypt/live
30+ ssl-cert-check <my_domain>/cert.pem
31+ ```
32+
You can’t perform that action at this time.
0 commit comments