Last update: 2018-03-15

Let's Encrypt and certbot commands

Let's Encrypt allows you to request free SSL certificates for a web site using the certbot command.

Requesting a certificate without user intervention

certbot certonly --standalone --email -d -w /var/www/html --agree-tos --renew-by-default -n

Auto renew all installed certificates

systemctl stop httpd
certbot renew
systemctl start httpd

Adding a sub-domain to an existing certificate

certbot certonly --standalone -d -d --expand

Requesting a wildcard certificate

certbot -d -d * --manual --preferred-challenges dns-01 --server certonly

© 2007-2019 Patrick Lambert - All resources on this site are provided under the MIT License - You can contact me at: