HTTPS with Dockerized Lets Encrypt certbot

This commit is contained in:
Marwolf
2018-07-27 12:22:08 -04:00
parent eb0b7a57b0
commit e3a98cdcf6
5 changed files with 99 additions and 53 deletions

9
certbot.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
docker run -it --rm --name certbot \
-v `pwd`/etc/certbot/certs:/etc/letsencrypt \
-v `pwd`/etc/certbot/data:/data/letsencrypt \
deliverous/certbot \
certonly \
--webroot --webroot-path=/data/letsencrypt \
-d openrsc.com -d www.openrsc.com