Lets Encrypt friendliness

This commit is contained in:
Marwolf
2018-08-18 12:33:59 -04:00
parent e0e350991e
commit 24812b66fa
6 changed files with 29 additions and 15 deletions

9
Lets_Encrypt.sh Executable file
View File

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