forked from mlebkowski/nassau-https-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
openssl.tmpl
47 lines (40 loc) · 938 Bytes
/
openssl.tmpl
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
[ ca ]
default_ca = CA_nassau
[ CA_nassau ]
serial = $ENV::SERIAL_PATH
database = $ENV::DATABASE_PATH
new_certs_dir = ./
private_key = $ENV::CA_KEY
certificate = $ENV::CA_CERT
default_md = sha256
preserve = no
nameopt = default_ca
certopt = default_ca
policy = policy_match
default_days = 1001
default_startdate = $ENV::START_DATE
[ policy_match ]
commonName = supplied
countryName = optional
organizationName = optional
[ req ]
req_extensions = v3_req
default_bits = 2048
default_md = sha256
distinguished_name = req_distinguished_name
[v3_req]
subjectAltName = $ENV::SUBJECT_ALT_NAME
[req_distinguished_name]
C = PL
ST = mazowieckie
L = Warsaw
O = Nassau SC
[ standard_ca ]
basicConstraints = CA:TRUE
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid:always
[ standard ]
basicConstraints = CA:FALSE
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid:always,issuer:always
subjectAltName = $ENV::SUBJECT_ALT_NAME