5 # The default test root, used to generate certificates and CRLs.
11 database = $dir/${ENV::CA_ID}-index.txt
13 serial = $dir/${ENV::CA_ID}-serial
14 certificate = $dir/${ENV::CA_ID}.pem
15 private_key = $dir/${ENV::CA_ID}.key
20 policy = policy_anything
22 copy_extensions = copy
25 # Extensions to add when signing a request for an leaf cert
26 basicConstraints = critical, CA:false
27 subjectKeyIdentifier = hash
28 authorityKeyIdentifier = keyid:always
29 extendedKeyUsage = serverAuth, clientAuth
32 # Extensions to add when signing a request for an intermediate/CA cert
33 basicConstraints = critical, CA:true
34 subjectKeyIdentifier = hash
35 authorityKeyIdentifier = keyid:always
36 keyUsage = critical, keyCertSign, cRLSign
39 # Default signing policy
40 countryName = optional
41 stateOrProvinceName = optional
42 localityName = optional
43 organizationName = optional
44 organizationalUnitName = optional
46 emailAddress = optional
51 string_mask = utf8only
54 distinguished_name = dn