3 ########################################################
4 # This is the config file for letsencrypt.sh #
6 # This file is looked for in the following locations: #
7 # $SCRIPTDIR/config.sh (next to this script) #
8 # /usr/local/etc/letsencrypt.sh/config.sh #
9 # /etc/letsencrypt.sh/config.sh #
10 # ${PWD}/config.sh (in current working-directory) #
12 # Default values of this config are in comments #
13 ########################################################
15 # Path to certificate authority (default: https://acme-v01.api.letsencrypt.org/directory)
16 #CA="https://acme-v01.api.letsencrypt.org/directory"
18 # Path to license agreement (default: https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf)
19 #LICENSE="https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf"
21 # Which challenge should be used? Currently http-01 and dns-01 are supported
22 #CHALLENGETYPE="http-01"
24 # Base directory for account key, generated certificates and list of domains (default: $SCRIPTDIR -- uses config directory if undefined)
27 # Output directory for challenge-tokens to be served by webserver or deployed in HOOK (default: $BASEDIR/.acme-challenges)
28 #WELLKNOWN="${BASEDIR}/.acme-challenges"
30 # Location of private account key (default: $BASEDIR/private_key.pem)
31 #PRIVATE_KEY="${BASEDIR}/private_key.pem"
33 # Default keysize for private keys (default: 4096)
36 # Path to openssl config file (default: <unset> - tries to figure out system default)
39 # Program or function called in certain situations
41 # After generating the challenge-response, or after failed challenge (in this case altname is empty)
42 # Given arguments: clean_challenge|deploy_challenge altname token-filename token-content
44 # After successfully signing certificate
45 # Given arguments: deploy_cert domain path/to/privkey.pem path/to/cert.pem path/to/fullchain.pem
47 # BASEDIR and WELLKNOWN variables are exported and can be used in an external program
51 # Minimum days before expiration to automatically renew certificate (default: 30)
54 # Regenerate private keys instead of just signing new certificates on renewal (default: no)
55 #PRIVATE_KEY_RENEW="no"
57 # E-mail to use during the registration (default: <unset>)