Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Set up Certbot

SET UP CERTBOT

#dev/server #dev/scripts

This is the setup guide for Certbot on Ubuntu 16.04 NGINX

https://certbot.eff.org/#ubuntuxenial-nginx

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python-certbot-nginx 
sudo certbot --nginx --renew-hook "service nginx reload"
sudo certbot certonly --webroot -w /var/www/html -d bonafidedesignco.com --renew-hook "service nginx reload"

See CERTBOT RENEW CERTIFICATE CRON for the cron scripts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.