Install Certbot and it’s Nginx plugin
sudo apt install certbot python3-certbot-nginx
Verify Web Server Ports are Open and Allowed through Firewall
sudo ufw status verbose
Obtain an SSL certificate
sudo certbot --nginx -d your_domain.com -d www.your_domain.com -d api.your_domain.com -d admin.your_domain.com -d www.admin.your_domain.com
Check Status of Certbot
sudo systemctl status certbot.timer
Dry Run SSL Renewal
sudo certbot renew --dry-run
Top comments (0)