3 # SSLeay example configuration file.
4 # This is mostly being used for generation of certificate requests.
9 ####################################################################
11 default_ca = CA_default # The default ca section
13 ####################################################################
16 dir = ./demoCA # Where everything is kept
17 certs = $dir/certs # Where the issued certs are kept
18 crl_dir = $dir/crl # Where the issued crl are kept
19 database = $dir/index.txt # database index file.
20 new_certs_dir = $dir/new_certs # default place for new certs.
22 certificate = $dir/CAcert.pem # The CA certificate
23 serial = $dir/serial # The current serial number
24 crl = $dir/crl.pem # The current CRL
25 private_key = $dir/private/CAkey.pem# The private key
26 RANDFILE = $dir/private/.rand # private random number file
28 default_days = 365 # how long to certify for
29 default_crl_days= 30 # how long before next CRL
30 default_md = md5 # which md to use.
32 # A few difference way of specifying how similar the request should look
33 # For type CA, the listed attributes must be the same, and the optional
34 # and supplied fields are just that :-)