-
Notifications
You must be signed in to change notification settings - Fork 29
/
sample-config.yaml
61 lines (60 loc) · 1.83 KB
/
sample-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
dataDir: /var/local/zerossl # Data directory for containing the status and temporary files
logFile: /var/local/zerossl/log.txt # Log file
cleanUnfinished: true # Clean zerossl certificates that are not finished issuing.
certConfigs:
# Use confId to identify the certificate configuration
- commonName: 4.3.2.1
# mandatory
confId: xx1
# your zerossl api key
apiKey: xxx-xxx
######## CSR INFO ########
country: US
province: CA
city: San Francisco
locality: San Francisco
organization: Earth
organizationUnit: Development
######## CSR INFO ########
# certificate validity in days
days: 90
# key type, ecdsa or rsa
keyType: ecdsa
# rsa key bits
keyBits: 2048
# ecdsa curve, P-256 or P-384
keyCurve: P-256
# signature algorithm, ECDSA-SHA256 or SHA256-RSA or ECDSA-SHA384 or SHA384-RSA
sigAlg: ECDSA-SHA256
# fixed
strictDomains: 1
# fixed
verifyMethod: HTTP_CSR_HASH
# verify hook executable, will be called before verifying domains
verifyHook: /var/local/zerossl/verify-hook.sh
# post hook executable, will be called after certificates arrival
postHook: /var/local/zerossl/post-hook.sh
# certificate store path
certFile: /var/local/zerossl/cert0.pem
# key store path
keyFile: /var/local/zerossl/key0.pem
- commonName: 1.2.3.4
confId: xx2
apiKey: xxx-xxx
country: US
province: CA
city: San Francisco
locality: San Francisco
organization: Earth
organizationUnit: Development
days: 90
keyType: ecdsa
keyBits: 2048
keyCurve: P-256
sigAlg: ECDSA-SHA256
strictDomains: 1
verifyMethod: HTTP_CSR_HASH
verifyHook: /var/local/zerossl/verify-hook.sh
postHook: /var/local/zerossl/post-hook.sh
certFile: /var/local/zerossl/cert1.pem
keyFile: /var/local/zerossl/key1.pem