]> git.street.me.uk Git - andy/dehydrated.git/blob - config.sh.example
ugly fix to syntax highlighting in Vim
[andy/dehydrated.git] / config.sh.example
1 #!/bin/bash
2
3 ########################################################
4 # This is the config file for letsencrypt.sh           #
5 #                                                      #
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)      #
12 #                                                      #
13 # Default values of this config are in comments        #
14 ########################################################
15
16 # Path to certificate authority (default: https://acme-v01.api.letsencrypt.org)
17 #CA="https://acme-v01.api.letsencrypt.org"
18
19 # Output directory for challenge-tokens to be served by webserver or deployed in HOOK (default: $SCRIPTDIR/.acme-challenges)
20 #WELLKNOWN="${SCRIPTDIR}/.acme-challenges"
21
22 # Default keysize for private keys (default: 4096)
23 #KEYSIZE="4096"
24
25 # Base directory for account key, generated certificates and list of domains (default: $SCRIPTDIR -- uses config directory if undefined)
26 #BASEDIR=$SCRIPTDIR
27
28 # Path to openssl config file (default: <unset> - tries to figure out system default)
29 #OPENSSL_CNF=
30
31 # Name of root certificate (default: lets-encrypt-x1-cross-signed.pem)
32 #ROOTCERT="lets-encrypt-x1-cross-signed.pem"
33
34 # Program or function called in certain situations
35 #
36 # After generating the challenge-response, or after failed challenge
37 # Given arguments: clean_challenge|deploy_challenge token-filename token-content
38 #
39 # After successfully signing certificate
40 # Given arguments: deploy_cert path/to/privkey.pem path/to/cert.pem path/to/fullchain.pem
41 #
42 # BASEDIR and WELLKNOWN variables are exported and can be used in an external program
43 # default: <unset>
44 #HOOK=
45
46 # Minimum days before expiration to automatically renew certificate (default: 14)
47 #RENEW_DAYS="14"
48
49 # Regenerate private keys instead of just signing new certificates on renewal (default: no)
50 #PRIVATE_KEY_RENEW="no"
51
52 # E-mail to use during the registration (default: <unset>)
53 #CONTACT_EMAIL=