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 ####################################################################
53 default_keyfile = testkey.pem
54 distinguished_name = req_distinguished_name
57 # Make altreq be identical to req
60 default_keyfile = testkey.pem
61 distinguished_name = req_distinguished_name
64 [ req_distinguished_name ]
66 countryName_value = AU
67 stateOrProvinceName = SP field
68 stateOrProvinceName_value =
69 localityName = L field
70 localityName_value = Brisbane
71 organizationName = O field
72 organizationName_value = CryptSoft Pty Ltd
73 organizationalUnitName = OU field
74 organizationalUnitName_value = .
76 commonName_value = Eric Young
77 emailAddress = email field
78 emailAddress_value = eay@mincom.oz.au