2 # SSLeay example configuration file.
3 # This is mostly being used for generation of certificate requests.
6 ####################################################################
8 default_ca = CA_default # The default ca section
10 ####################################################################
13 dir = ./demoCA # Where everything is kept
14 certs = $dir/certs # Where the issued certs are kept
15 crl_dir = $dir/crl # Where the issued crl are kept
16 database = $dir/index.txt # database index file.
17 new_certs_dir = $dir/new_certs # default place for new certs.
19 certificate = $dir/CAcert.pem # The CA certificate
20 serial = $dir/serial # The current serial number
21 crl = $dir/crl.pem # The current CRL
22 private_key = $dir/private/CAkey.pem# The private key
24 default_days = 365 # how long to certify for
25 default_crl_days= 30 # how long before next CRL
26 default_md = md5 # which md to use.
28 # A few difference way of specifying how similar the request should look
29 # For type CA, the listed attributes must be the same, and the optional
30 # and supplied fields are just that :-)
36 stateOrProvinceName = match
37 organizationName = match
38 organizationalUnitName = optional
40 emailAddress = optional
42 # For the 'anything' policy
43 # At this point in time, you must list all acceptable 'object'
46 countryName = optional
47 stateOrProvinceName = optional
48 localityName = optional
49 organizationName = optional
50 organizationalUnitName = optional
52 emailAddress = optional
54 ####################################################################
57 default_keyfile = testkey.pem
58 distinguished_name = req_distinguished_name
61 [ req_distinguished_name ]
62 countryName = Country Name (2 letter code)
63 countryName_default = AU
64 countryName_value = AU
66 stateOrProvinceName = State or Province Name (full name)
67 stateOrProvinceName_default = Queensland
68 stateOrProvinceName_value =
70 localityName = Locality Name (eg, city)
71 localityName_value = Brisbane
73 organizationName = Organization Name (eg, company)
74 organizationName_default =
75 organizationName_value = CryptSoft Pty Ltd
77 organizationalUnitName = Organizational Unit Name (eg, section)
78 organizationalUnitName_default =
79 organizationalUnitName_value = .
81 commonName = Common Name (eg, YOUR name)
82 commonName_value = Eric Young
84 emailAddress = Email Address
85 emailAddress_value = eay@mincom.oz.au