2 ####################################################################
4 default_ca = CA_default # The default ca section
6 ####################################################################
9 dir = ./demoCA # Where everything is kept
10 certs = $dir/certs # Where the issued certs are kept
11 crl_dir = $dir/crl # Where the issued crl are kept
12 database = $dir/index.txt # database index file.
13 new_certs_dir = $dir/new_certs # default place for new certs.
15 certificate = $dir/CAcert.pem # The CA certificate
16 serial = $dir/serial # The current serial number
17 crl = $dir/crl.pem # The current CRL
18 private_key = $dir/private/CAkey.pem# The private key
20 default_days = 365 # how long to certify for
21 default_crl_days= 30 # how long before next CRL
22 default_md = md5 # which md to use.
24 # A few difference way of specifying how similar the request should look
25 # For type CA, the listed attributes must be the same, and the optional
26 # and supplied fields are just that :-)
32 stateOrProvinceName = match
33 organizationName = match
34 organizationalUnitName = optional
36 emailAddress = optional
38 # For the 'anything' policy
39 # At this point in time, you must list all acceptable 'object'
42 countryName = optional
43 stateOrProvinceName = optional
44 localityName = optional
45 organizationName = optional
46 organizationalUnitName = optional
48 emailAddress = optional
50 ####################################################################
52 distinguished_name = req_distinguished_name
55 # Make altreq be identical to req
57 distinguished_name = req_distinguished_name
60 [ req_distinguished_name ]
62 countryName_value = AU
63 stateOrProvinceName = SP field
64 stateOrProvinceName_value =
65 localityName = L field
66 localityName_value = Brisbane
67 organizationName = O field
68 organizationName_value = CryptSoft Pty Ltd
69 organizationalUnitName = OU field
70 organizationalUnitName_value = .
72 commonName_value = Eric Young
73 emailAddress = email field
74 emailAddress_value = eay@mincom.oz.au