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