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