[ ca ] default_ca = my_ca # the default ca section [ my_ca ] dir = /var/local/lib/pki/my_ca # top dir database = $dir/index.txt # index file new_certs_dir = $dir/issued_certs # new certs dir certificate = $dir/my_ca.crt # CA cert private_key = $dir/private/my_ca.key # CA private key serial = $dir/serial oid_section = new_oids default_days = 365 # how long to certify for default_md = sha384 # md to use policy = my_dname_policy # DN policy for issued certs x509_extensions = my_ext # extensions for issued certs nameopt = ca_default # subject name display option certopt = ca_default # certificate display option copy_extensions = none # don't copy extensions from csr email_in_dn = no # don't add email to cert DN unique_subject = yes # certs can't have identical DN string_mask = utf8only utf8 = yes [ new_oids ] documentTypeList = 2.23.136.1.1.6.2 nameChange = 2.23.136.1.1.6.1 [ documentType ] documentType1 = PRINTABLESTRING:AB #documentType2 = PRINTABLESTRING:B #documentType3 = PRINTABLESTRING:B #documentType4 = PRINTABLESTRING:BA #documentType5 = PRINTABLESTRING:BB #documentType6 = PRINTABLESTRING:BC documentType7 = PRINTABLESTRING:D #documentType8 = PRINTABLESTRING:DA #documentType9 = PRINTABLESTRING:DB #documentType10 = PRINTABLESTRING:DC #documentType11 = PRINTABLESTRING:DD #documentType12 = PRINTABLESTRING:DE #documentType13 = PRINTABLESTRING:DF #documentType14 = PRINTABLESTRING:DA #documentType16 = PRINTABLESTRING:DA #documentType17 = PRINTABLESTRING:DB [ documentTypeListSyntax ] version = INTEGER:0 docTypeList = SET:documentType [ privateKeyUsagePeriodSyntax ] notBefore = IMPLICIT:0,GENERALIZEDTIME:$ENV::PRIV_KEY_VALID_FROM notAfter = IMPLICIT:1,GENERALIZEDTIME:$ENV::PRIV_KEY_VALID_TO [ my_ca_crl_dp ] URI.1 = ldap://crldp.domain.com/${ENV::MY_CA_SUBJECT_DN_LDAP}?certificateRevocationList;binary [ my_ca_policy ] policyIdentifier = 0.1.2.3.4.5.6.7.8.9 CPS.1 = http://www.domain.com/my_ca/ [ my_dname_policy ] countryName = match organizationName = match organizationalUnitName = match commonName = supplied serialNumber = optional [ my_ext ] subjectKeyIdentifier = hash authorityKeyIdentifier = keyid:always keyUsage = critical, digitalSignature privateKeyUsagePeriod = ASN1:SEQUENCE:privateKeyUsagePeriodSyntax crlDistributionPoints = @my_ca_crl_dp certificatePolicies = @my_ca_policy #documentTypeList = ASN1:SEQUENCE:documentTypeListSyntax 2.23.136.1.1.6.2 = ASN1:SEQUENCE:documentTypeListSyntax