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 # ${HOME}/.letsencrypt.sh/config.sh (in user home) #
9 # /usr/local/etc/letsencrypt.sh/config.sh #
10 # /etc/letsencrypt.sh/config.sh #
11 # ${PWD}/config.sh (in current working-directory) #
13 # Default values of this config are in comments #
14 ########################################################
16 # Path to certificate authority (default: https://acme-v01.api.letsencrypt.org)
17 #CA="https://acme-v01.api.letsencrypt.org"
19 # Output directory for challenge-tokens to be served by webserver or deployed in HOOK (default: $SCRIPTDIR/.acme-challenges)
20 #WELLKNOWN="${SCRIPTDIR}/.acme-challenges"
22 # Default keysize for private keys (default: 4096)
25 # Base directory for account key, generated certificates and list of domains (default: $SCRIPTDIR -- uses config directory if undefined)
28 # Path to openssl config file (default: <unset> - tries to figure out system default)
31 # Name of root certificate (default: lets-encrypt-x1-cross-signed.pem)
32 #ROOTCERT="lets-encrypt-x1-cross-signed.pem"
34 # Program or function called in certain situations
36 # After generating the challenge-response, or after failed challenge
37 # Given arguments: clean_challenge|deploy_challenge token-filename token-content
39 # After successfully signing certificate
40 # Given arguments: deploy_cert path/to/privkey.pem path/to/cert.pem path/to/fullchain.pem
42 # BASEDIR and WELLKNOWN variables are exported and can be used in an external program
46 # Minimum days before expiration to automatically renew certificate (default: 14)
49 # Regenerate private keys instead of just signing new certificates on renewal (default: no)
50 #PRIVATE_KEY_RENEW="no"
52 # E-mail to use during the registration (default: <unset>)