Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 448 Bytes

ssl.md

File metadata and controls

25 lines (20 loc) · 448 Bytes

Setup SSL on Ubuntu

Note: This is assuming vhost are setup

$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install python-certbot-nginx
$ sudo certbot --nginx -d <domain>

Auto-renewal Setup

15 3 * * * /usr/bin/certbot renew >> /tmp/cert-renew.log

Check certificates

$ sudo certbot certificates 

Delete a certficate

$ sudo certbot delete --cert-name <domain>