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