Certbot snippets
Useful commands for SSL cert generation with Certbot.
Installing Certbot on Ubuntu/Linux
sudo add-apt-repository ppa:certbot/certbot
sudo apt install python-certbot-apache
Getting an SSL cert after creating vhost.
sudo certbot --apache -d your_domain -d www.your_domain
Check if renew works.
sudo certbot renew --dry-run