includes1.cnf 1.1 KB

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