1 [ default ] 2 # 3 # SSLeay example configuration file. 4 # This is mostly being used for generation of certificate requests. 5 # 6 7 #################################################################### 8 [ ca ] 9 default_ca = CA_default # The default ca section 10 11 #################################################################### 12 [ CA_default ] 13 14 dir = ./demoCA # Where everything is kept 15 certs = $dir/certs # Where the issued certs are kept 16 crl_dir = $dir/crl # Where the issued crl are kept 17 database = $dir/index.txt # database index file. 18 new_certs_dir = $dir/new_certs # default place for new certs. 19 20 certificate = $dir/CAcert.pem # The CA certificate 21 serial = $dir/serial # The current serial number 22 crl = $dir/crl.pem # The current CRL 23 private_key = $dir/private/CAkey.pem# The private key 24 25 default_days = 365 # how long to certify for 26 default_crl_days= 30 # how long before next CRL 27 default_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 :-) 32 policy = policy_match 33 34