m1gin 52

Install certbot and letsencrypt

sudo apt install certbot letsencrypt
sudo apt-get install python3-certbot-apache


Create a certificate:

sudo certbot certonly --manual --preferred-challenges=dns


List Certificates:

sudo certbot certificates

Renewing certificates:

sudo certbot certonly --manual --preferred-challenges=dns -d mbirgin.com,*.mbirgin.com

Automatic renewing existing certificates

This method doesn't work for dns challenges

sudo certbot renew


References:

Add to: