Files
Open-RSC-Docker-Home/certbot.sh
2018-07-27 12:36:07 -04:00

10 lines
316 B
Bash
Executable File

#!/bin/bash
sudo 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 --staging