]> git.street.me.uk Git - andy/dehydrated.git/blob - config.sh.example
Added LOCKFILE to config.sh.example
[andy/dehydrated.git] / config.sh.example
1 #!/bin/bash
2
3 ########################################################
4 # This is the main 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 # /usr/local/etc/letsencrypt.sh/config.sh              #
9 # /etc/letsencrypt.sh/config.sh                        #
10 # ${PWD}/config.sh (in current working-directory)      #
11 #                                                      #
12 # Default values of this config are in comments        #
13 ########################################################
14
15 # Path to certificate authority (default: https://acme-v01.api.letsencrypt.org/directory)
16 #CA="https://acme-v01.api.letsencrypt.org/directory"
17
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"
20
21 # Which challenge should be used? Currently http-01 and dns-01 are supported
22 #CHALLENGETYPE="http-01"
23
24 # Path to a directory containing additional config files, allowing to override
25 # the defaults found in the main configuration file. Additional config files
26 # in this directory needs to be named with a '.sh' ending.
27 # default: <unset>
28 #CONFIG_D=
29
30 # Base directory for account key, generated certificates and list of domains (default: $SCRIPTDIR -- uses config directory if undefined)
31 #BASEDIR=$SCRIPTDIR
32
33 # Output directory for challenge-tokens to be served by webserver or deployed in HOOK (default: $BASEDIR/.acme-challenges)
34 #WELLKNOWN="${BASEDIR}/.acme-challenges"
35
36 # Location of private account key (default: $BASEDIR/private_key.pem)
37 #PRIVATE_KEY="${BASEDIR}/private_key.pem"
38
39 # Default keysize for private keys (default: 4096)
40 #KEYSIZE="4096"
41
42 # Path to openssl config file (default: <unset> - tries to figure out system default)
43 #OPENSSL_CNF=
44
45 # Program or function called in certain situations
46 #
47 # After generating the challenge-response, or after failed challenge (in this case altname is empty)
48 # Given arguments: clean_challenge|deploy_challenge altname token-filename token-content
49 #
50 # After successfully signing certificate
51 # Given arguments: deploy_cert domain path/to/privkey.pem path/to/cert.pem path/to/fullchain.pem
52 #
53 # BASEDIR and WELLKNOWN variables are exported and can be used in an external program
54 # default: <unset>
55 #HOOK=
56
57 # Minimum days before expiration to automatically renew certificate (default: 30)
58 #RENEW_DAYS="30"
59
60 # Regenerate private keys instead of just signing new certificates on renewal (default: no)
61 #PRIVATE_KEY_RENEW="no"
62
63 # Which public key algorithm should be used? Supported: rsa, prime256v1 and secp384r1
64 #KEY_ALGO=rsa
65
66 # E-mail to use during the registration (default: <unset>)
67 #CONTACT_EMAIL=
68
69 # Lockfile location, to prevent concurrent access (default: $BASEDIR/lock)
70 #LOCKFILE="${BASEDIR}/lock"