ca.cnf 970 B

12345678910111213141516171819202122232425262728293031323334
  1. HOME = .
  2. default_ca = ca
  3. config_diagnostics = 1
  4. ####################################################################
  5. [ req ]
  6. x509_extensions = v3_ca
  7. ####################################################################
  8. [ usr_cert ]
  9. basicConstraints = critical, CA:FALSE
  10. keyUsage = critical, nonRepudiation, digitalSignature, keyEncipherment
  11. subjectKeyIdentifier = hash
  12. ##authorityInfoAccess = OCSP;URI:http://127.0.0.1:19254/ocsp
  13. # we do not include aia in the cert.
  14. # we use the s_server option "-status_url" to specify the url.
  15. ####################################################################
  16. [ v3_ca ]
  17. subjectKeyIdentifier = hash
  18. authorityKeyIdentifier = keyid:always
  19. basicConstraints = critical,CA:true
  20. keyUsage = critical, cRLSign, keyCertSign
  21. ####################################################################
  22. # Minimal CA entry to allow generation of CRLs.
  23. [ ca ]
  24. default_md = sha256
  25. database = index.txt
  26. crlnumber = crlnum.txt