tildefriends/tools/letsencrypt.sh

26 lines
698 B
Bash
Raw Normal View History

#!/bin/bash
# --config-dir, --logs-dir, and --work-dir
#certbot certonly \
# --webroot \
# --webroot-path data/global/ \
# -d www.tildefriends.net \
# -d tildefriends.net \
# --config-dir data/global/letsencrypt/etc \
# --logs-dir data/global/letsencrypt/logs \
# --work-dir data/global/letsencrypt/work \
# --cert-path data/global/httpd/certificate.pem \
# --key-path data/global/httpd/privatekey.pem \
certbot renew \
--webroot \
--webroot-path data/global/ \
--config-dir data/global/letsencrypt/etc \
--logs-dir data/global/letsencrypt/logs \
--work-dir data/global/letsencrypt/work \
--cert-path data/global/httpd/certificate.pem \
--key-path data/global/httpd/privatekey.pem \
$*