Certbot snippets

Useful commands for SSL cert generation with Certbot.

SNP 001 #26A Filed cmd

Installing Certbot on Ubuntu/Linux

shell
sudo add-apt-repository ppa:certbot/certbot
sudo apt install python-certbot-apache

Getting an SSL cert after creating vhost.

shell
sudo certbot --apache -d your_domain -d www.your_domain

Check if renew works.

shell
sudo certbot renew --dry-run