Let's Encrypt

From UVOO Tech Wiki
Jump to navigation Jump to search

NGINX

https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx

apt-get update sudo apt-get install nginx python-certbot-nginx sudo certbot

Auto Renew - this is usually installed

/etc/cron.d/certbot

0 */12 * * * root test -x /usr/bin/certbot -a ! -d /run/systemd/system && perl -e 'sleep int(rand(43200))' && certbot -q renew

45 2 * * 6 sudo /usr/local/sbin/certbot-auto renew >> /var/log/certbot-auto.log 2>&1

Alternate Install

https://certbot.eff.org/docs/install.html

Wildcard

https://medium.com/@utkarsh_verma/how-to-obtain-a-wildcard-ssl-certificate-from-lets-encrypt-and-setup-nginx-to-use-wildcard-cfb050c8b33f

certbot certonly --server https://acme-v02.api.letsencrypt.org/directory --manual --preferred-challenges dns -d 'uvoo.io,*.example.io'

https://community.letsencrypt.org/t/wildcard-domain-step-by-step/58250/4