Letsencrypt
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
To refresh the image
cd ~/Documents/src/certbot git pull docker pull certbot/certbot docker build -t registry.gitlab.jans.space/der-jan/certbot . docker push registry.gitlab.jans.space/der-jan/certbot