HTTPS with Dockerized Lets Encrypt certbot
This commit is contained in:
9
certbot.sh
Executable file
9
certbot.sh
Executable 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
|
||||
Reference in New Issue
Block a user