summaryrefslogtreecommitdiff
path: root/test/py/tests/test_efi_secboot/openssl.cnf
blob: f684f1df7e69fc1ac9af003d3c5c97f77a5dcb15 (plain)
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
[ ca ]
default_ca = CA_default

[ CA_default ]
new_certs_dir = .
database = ./index.txt
serial = ./serial
default_md = sha256
policy = policy_min

[ req ]
distinguished_name = def_distinguished_name

[def_distinguished_name]

# Extensions
#   -addext " ... = ..."
#
[ v3_ca ]
   # Extensions for a typical Root CA.
   basicConstraints = critical,CA:TRUE
   keyUsage = critical, digitalSignature, cRLSign, keyCertSign
   subjectKeyIdentifier = hash
   authorityKeyIdentifier = keyid:always,issuer

[ v3_int_ca ]
   # Extensions for a typical intermediate CA.
   basicConstraints = critical, CA:TRUE
   keyUsage = critical, digitalSignature, cRLSign, keyCertSign
   subjectKeyIdentifier = hash
   authorityKeyIdentifier = keyid:always,issuer

[ usr_cert ]
   # Extensions for user end certificates.
   basicConstraints = CA:FALSE
   keyUsage = critical, nonRepudiation, digitalSignature, keyEncipherment
   extendedKeyUsage = clientAuth, emailProtection
   subjectKeyIdentifier = hash
   authorityKeyIdentifier = keyid,issuer

[ policy_min ]
   countryName		= optional
   stateOrProvinceName	= optional
   localityName		= optional
   organizationName	= optional
   organizationalUnitName = optional
   commonName		= supplied
   emailAddress		= optional