request.conf 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #
  2. # Default configuration to use when one
  3. # is not provided on the command line.
  4. #
  5. [ ca ]
  6. default_ca = CA_request
  7. #
  8. # Default location of directories and
  9. # files needed to generate certificates.
  10. #
  11. [ CA_request ]
  12. dir = ./rootCA
  13. database = $dir/index.txt
  14. new_certs_dir = $dir/certs
  15. certificate = $dir/cacert.pem
  16. serial = $dir/serial
  17. private_key = $dir/private/cakey.pem
  18. #
  19. # Default expiration and encryption
  20. # policies for certificates.
  21. #
  22. default_days = 365
  23. default_crl_days = 1825
  24. default_md = sha1
  25. policy = req_policy
  26. #
  27. # Information to be moved from
  28. # request to the certificate
  29. #
  30. nameopt = ca_default
  31. certopt = ca_default
  32. copy_extensions = copy
  33. x509_extensions = cert_extensions
  34. #
  35. # The default policy to use when
  36. # generating the certificate.
  37. #
  38. [ req_policy ]
  39. countryName = supplied
  40. stateOrProvinceName = optional
  41. organizationName = supplied
  42. organizationalUnitName = optional
  43. commonName = supplied
  44. emailAddress = supplied
  45. [ cert_extensions ]
  46. basicConstraints = CA:false