-
Notifications
You must be signed in to change notification settings - Fork 1
/
root_cert.config
43 lines (39 loc) · 1.13 KB
/
root_cert.config
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
[ca]
default_ca = CA
[CA]
dir = .
certs = $dir
crldir = $dir
new_certs_dir = $certs
database = $dir/index
certificate = $certs/root_cert.pem
private_key = $dir/root_private_key.pem
crl = $crldir/crl.pem
serial = $dir/serial.txt
RANDFILE = $dir/.rand
name_opt = ca_default
cert_opt = ca_default
default_days = 30
default_md = sha256
unique_subject = no
copy_extensions = copy
policy = simple_policy
x509_extensions = x509_ext
[simple_policy]
countryName = optional
stateOrProvinceName = optional
localityName = optional
organizationName = optional
organizationalUnitName = optional
commonName = optional
domainComponent = optional
emailAddress = optional
name = optional
surname = optional
givenName = optional
dnQualifier = optional
[x509_ext]
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid:always
basicConstraints = critical, CA:TRUE
keyUsage = critical, keyCertSign, cRLSign, digitalSignature