Letsencrypt¶
- Website
- https://letsencrypt.org/docs/rate-limits/
- Show certificate issueing log: https://crt.sh/?q=varac.net
Install¶
systemd timer¶
Gets installed by the certbot debian package:
Fetch cert¶
from staging CA, for test purposes¶
from production CA, beware of rate-limit¶
certbot --text --agree-tos certonly --standalone --email varac@varac.net -d $(hostname -f)
find /etc/letsencrypt/live/
Renew¶
LEAP¶
systemctl stop apache2
certbot certonly --standalone --email admin@$(hostname -d) -d $(hostname -d) -d api.$(hostname -d) -d $(hostname -f) -d nicknym.$(hostname -d)
systemctl start apache2
Puppet integration¶
https://github.com/voxpupuli/puppet-letsencrypt
see bitrigger/modules/site_letsencrypt/manifests/init.pp
cronjob is installed in root's crontab
Acme-tiny client¶
https://github.com/diafygi/acme-tiny/
Account key at:
Domain private key (if you haven't already)¶
CSR for a single domain¶
openssl req -new -sha256 -key ~/domains/example.org/domain.key -subj "/CN=example.org" > ~/domains/example.org/domain.csr
Auto-renewal¶
Using docker¶
https://realguess.net/2016/10/09/getting-let-s-encrypt-ssl-certificate-with-docker/