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>