test.rootCA.conf 789 B

123456789101112131415161718192021222324
  1. [req]
  2. default_bits = 2048
  3. distinguished_name = req_distinguished_name
  4. attributes = req_attributes
  5. x509_extensions = v3_ca
  6. prompt = no
  7. output_password = mypass
  8. [req_distinguished_name]
  9. C = US
  10. ST = Test State or Province
  11. L = Test Locality
  12. O = Organization Name
  13. OU = Organizational Unit Name
  14. CN = Root CA Name
  15. emailAddress = test@email.address
  16. [req_attributes]
  17. challengePassword = 1234
  18. # Mark the root as a CA explicitly. Relying on the openssl version to emit a
  19. # v1 certificate (or CA:TRUE by default) breaks when the default changes.
  20. [v3_ca]
  21. basicConstraints = critical,CA:TRUE