7 # The default test root, used to generate certificates and CRLs.
10 database = ${dir}/${ENV::CERTIFICATE}-index.txt
11 new_certs_dir = ${dir}
12 serial = ${dir}/${ENV::CERTIFICATE}-serial
13 certificate = ${dir}/${ENV::CERTIFICATE}.pem
14 private_key = ${dir}/${ENV::CERTIFICATE}.key
15 RANDFILE = ${dir}/rand
19 policy = policy_anything
23 # Extensions to add when signing a request for an EE cert
24 basicConstraints = critical, CA:false
25 subjectKeyIdentifier = hash
26 authorityKeyIdentifier = keyid:always
27 extendedKeyUsage = serverAuth,clientAuth
30 # Extensions to add when signing a request for an intermediate/CA cert
31 basicConstraints = critical, CA:true
32 subjectKeyIdentifier = hash
33 #authorityKeyIdentifier = keyid:always
34 keyUsage = critical, keyCertSign, cRLSign
37 # Extensions to add when signing a CRL
38 authorityKeyIdentifier = keyid:always
41 # Default signing policy
42 countryName = optional
43 stateOrProvinceName = optional
44 localityName = optional
45 organizationName = optional
46 organizationalUnitName = optional
48 emailAddress = optional
51 # The request section used to generate certificate requests.
54 string_mask = utf8only
57 distinguished_name = req_env_dn
60 CN = ${ENV::CA_COMMON_NAME}