]> git.phdru.name Git - ansible.git/blob - playbooks/debian/roles/add-apache-vhost/templates/dehydrated/config
b40241d01030b10d7b84d4ddcb5ece420760b3ed
[ansible.git] / playbooks / debian / roles / add-apache-vhost / templates / dehydrated / config
1 ########################################################
2 # This is the main config file for dehydrated          #
3 #                                                      #
4 # This file is looked for in the following locations:  #
5 # $SCRIPTDIR/config (next to this script)              #
6 # /usr/local/etc/dehydrated/config                     #
7 # /etc/dehydrated/config                               #
8 # ${PWD}/config (in current working-directory)         #
9 #                                                      #
10 # Default values of this config are in comments        #
11 ########################################################
12
13 # Resolve names to addresses of IP version only. (curl)
14 # supported values: 4, 6
15 # default: <unset>
16 #IP_VERSION=
17
18 # Path to certificate authority (default: https://acme-v01.api.letsencrypt.org/directory)
19 #CA="https://acme-staging.api.letsencrypt.org/directory"
20 CA="https://acme-v01.api.letsencrypt.org/directory"
21
22 # Path to certificate authority license terms redirect (default: https://acme-v01.api.letsencrypt.org/terms)
23 #CA_TERMS="https://acme-staging.api.letsencrypt.org/terms"
24 CA_TERMS="https://acme-v01.api.letsencrypt.org/terms"
25
26 # Path to license agreement (default: <unset>)
27 #LICENSE=""
28
29 # Which challenge should be used? Currently http-01 and dns-01 are supported
30 #CHALLENGETYPE="http-01"
31
32 # Path to a directory containing additional config files, allowing to override
33 # the defaults found in the main configuration file. Additional config files
34 # in this directory needs to be named with a '.sh' ending.
35 # default: <unset>
36 #CONFIG_D=
37
38 # Base directory for account key, generated certificates and list of domains (default: $SCRIPTDIR -- uses config directory if undefined)
39 #BASEDIR=$SCRIPTDIR
40
41 # File containing the list of domains to request certificates for (default: $BASEDIR/domains.txt)
42 #DOMAINS_TXT="${BASEDIR}/domains.txt"
43
44 # Output directory for generated certificates
45 #CERTDIR="${BASEDIR}/certs"
46
47 # Directory for account keys and registration information
48 #ACCOUNTDIR="${BASEDIR}/accounts"
49
50 # Output directory for challenge-tokens to be served by webserver or deployed in HOOK (default: /var/www/dehydrated)
51 #WELLKNOWN="/var/www/dehydrated"
52 WELLKNOWN="/usr/local/apache2/htdocs/.well-known/acme-challenge/"
53
54 # Default keysize for private keys (default: 4096)
55 #KEYSIZE="4096"
56
57 # Path to openssl config file (default: <unset> - tries to figure out system default)
58 #OPENSSL_CNF=
59
60 # Path to OpenSSL binary (default: "openssl")
61 #OPENSSL="openssl"
62
63 # Extra options passed to the curl binary (default: <unset>)
64 #CURL_OPTS=
65
66 # Program or function called in certain situations
67 #
68 # After generating the challenge-response, or after failed challenge (in this case altname is empty)
69 # Given arguments: clean_challenge|deploy_challenge altname token-filename token-content
70 #
71 # After successfully signing certificate
72 # Given arguments: deploy_cert domain path/to/privkey.pem path/to/cert.pem path/to/fullchain.pem
73 #
74 # BASEDIR and WELLKNOWN variables are exported and can be used in an external program
75 # default: <unset>
76 HOOK=./hook
77
78 # Chain clean_challenge|deploy_challenge arguments together into one hook call per certificate (default: no)
79 #HOOK_CHAIN="no"
80
81 # Minimum days before expiration to automatically renew certificate (default: 30)
82 #RENEW_DAYS="30"
83
84 # Regenerate private keys instead of just signing new certificates on renewal (default: yes)
85 #PRIVATE_KEY_RENEW="yes"
86 PRIVATE_KEY_RENEW="no"
87
88 # Create an extra private key for rollover (default: no)
89 #PRIVATE_KEY_ROLLOVER="no"
90
91 # Which public key algorithm should be used? Supported: rsa, prime256v1 and secp384r1
92 #KEY_ALGO=rsa
93
94 # E-mail to use during the registration (default: <unset>)
95 CONTACT_EMAIL=webmaster@{{ virtual_host }}
96
97 # Lockfile location, to prevent concurrent access (default: $BASEDIR/lock)
98 #LOCKFILE="${BASEDIR}/lock"
99
100 # Option to add CSR-flag indicating OCSP stapling to be mandatory (default: no)
101 #OCSP_MUST_STAPLE="no"
102
103 # Fetch OCSP responses (default: no)
104 #OCSP_FETCH="no"
105
106 # Issuer chain cache directory (default: $BASEDIR/chains)
107 #CHAINCACHE="${BASEDIR}/chains"
108
109 # Automatic cleanup (default: no)
110 #AUTO_CLEANUP="no"