sudo add-apt-repository ppa:certbot/certbotsudo apt-get updatesudo apt-get install python-certbot-nginx
sudo certbot --nginx -d example.com -d www.example.com
- Installed with certbot in
/etc/cron.d
sudo certbot renew --dry-run
sudo add-apt-repository ppa:certbot/certbotsudo apt-get updatesudo apt-get install python-certbot-nginxsudo certbot --nginx -d example.com -d www.example.com/etc/cron.dsudo certbot renew --dry-run