-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathca.conf
46 lines (41 loc) · 1.34 KB
/
ca.conf
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
[default]
name = rootca
default_ca = ca_default
[ca_dn]
countryName = Country Name (2 letter code)
countryName_default = DE
stateOrProvinceName = State or Province Name (full name)
stateOrProvinceName_default = Bayern
localityName = Locality Name (eg, city)
localityName_default = Passau
organizationalUnitName = Organizational Unit Name (eg, section)
organizationalUnitName_default = Certificate Authority
commonName = Common Name
commonName_default = raspberrypi.local
commonName_max = 64
[ca_default]
default_days = 3650
default_crl_days = 365
default_md = sha256
copy_extensions = copy
policy = policy_c_o_match
[policy_c_o_match]
countryName = optional
stateOrProvinceName = optional
organizationName = optional
organizationalUnitName = optional
commonName = supplied
emailAddress = optional
[req]
default_bits = 2048
encrypt_key = yes
default_md = sha256
utf8 = yes
string_mask = utf8only
prompt = yes
distinguished_name = ca_dn
req_extensions = ca_ext
[ca_ext]
basicConstraints = critical,CA:true
keyUsage = critical,digitalSignature,keyCertSign
subjectKeyIdentifier = hash