includes1.cnf 1.2 KB

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