Difference between revisions of "Let's Encrypt"

From UVOO Tech Wiki
Jump to navigation Jump to search
Line 22: Line 22:
 
certbot certonly --server https://acme-v02.api.letsencrypt.org/directory --manual --preferred-challenges dns -d 'uvoo.io,*.example.io'
 
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

Revision as of 02:03, 3 August 2019

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'

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