Files
Open-RSC-Docker-Home/Lets_Encrypt.sh
2018-08-18 13:39:12 -04:00

9 lines
283 B
Bash
Executable File

#!/bin/bash
sudo docker run -it --rm --name certbot \
-v `pwd`/etc/letsencrypt/certs:/opt/bitnami/nginx/conf/bitnami/certs \
deliverous/certbot \
certonly \
--webroot --webroot-path=/data/letsencrypt \
-d localhost -d www.localhost --staging