Certbot
Installation
sudo apt install certbot python3-certbot-nginx
Obtaining TLS Certificate
Attention
Must have server_name domain.com www.domain.com; configured.
sudo certbot --nginx -d domain.com -d www.domain.com
Auto-renewal
Check Timer Statussudo systemctl status certbot.timer
Auto-renewalsudo certbot renew --dry-run