Letsencrypt

From Jan's Wiki
Revision as of 18:47, 26 July 2018 by Der Jan (talk | contribs)
Jump to navigation Jump to search

To renew certificates use

   ./letsencrypt-auto certonly --webroot --webroot-path /usr/local/www/mail3 --debug -d mail3.riechers.info -d mail3.conti.work -d mail3.r-jan.de -d mail3.jan-riechers.de

Apache is setup for those 3 domains with aliases.

Or for non http sites use:

 docker run -it --rm -v /var/lib/lxc/mini-server/rootfs/etc/letsencrypt:/etc/letsencrypt -v /var/lib/lxc/mini-server/rootfs/var/lib/letsencrypt:/var/lib/letsencrypt registry.gitlab.jans.space/der-jan/certbot certonly --dns-rfc2136  --dns-rfc2136-credentials /etc/letsencrypt/dns-rfc2136.ini -d horst.jans.space