Let's Encrypt

From UVOO Tech Wiki
Revision as of 01:54, 3 August 2019 by Busk (talk | contribs)
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

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