test-ca.opensslconf 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. [req]
  2. x509_extensions = v3_ca
  3. distinguished_name = req_dn
  4. [req_dn]
  5. countryName = NL
  6. organizationalUnitName = PolarSSL
  7. commonName = PolarSSL Test CA
  8. [v3_ca]
  9. subjectKeyIdentifier=hash
  10. authorityKeyIdentifier=keyid:always,issuer:always
  11. basicConstraints = CA:true
  12. [othername_san]
  13. subjectAltName=otherName:1.3.6.1.5.5.7.8.4;SEQ:hw_module_name
  14. [unsupoported_othername_san]
  15. subjectAltName=otherName:1.2.3.4;UTF8:some other identifier
  16. [dns_alt_names]
  17. subjectAltName=DNS:example.com, DNS:example.net, DNS:*.example.org
  18. [alt_names]
  19. DNS.1=example.com
  20. otherName.1=1.3.6.1.5.5.7.8.4;SEQ:hw_module_name
  21. DNS.2=example.net
  22. DNS.3=*.example.org
  23. [multiple_san]
  24. subjectAltName=@alt_names
  25. [hw_module_name]
  26. hwtype = OID:1.3.6.1.4.1.17.3
  27. hwserial = OCT:123456
  28. [v3_any_policy_ca]
  29. basicConstraints = CA:true
  30. certificatePolicies = 2.5.29.32.0
  31. [v3_any_policy_qualifier_ca]
  32. basicConstraints = CA:true
  33. certificatePolicies = @policy_info
  34. [v3_multi_policy_ca]
  35. basicConstraints = CA:true
  36. certificatePolicies = 1.2.3.4,2.5.29.32.0
  37. [v3_unsupported_policy_ca]
  38. basicConstraints = CA:true
  39. certificatePolicies = 1.2.3.4
  40. [policy_info]
  41. policyIdentifier = 2.5.29.32.0
  42. CPS.1 ="CPS uri string"
  43. [fan_cert]
  44. extendedKeyUsage = 1.3.6.1.4.1.45605.1
  45. [noext_ca]
  46. basicConstraints = CA:true
  47. [test_ca]
  48. database = /dev/null
  49. [crl_ext_idp]
  50. issuingDistributionPoint=critical, @idpdata
  51. [crl_ext_idp_nc]
  52. issuingDistributionPoint=@idpdata
  53. [idpdata]
  54. fullname=URI:http://pki.example.com/
  55. # these IPs are the ascii values for 'abcd' and 'abcd.example.com'
  56. [tricky_ip_san]
  57. subjectAltName=IP:97.98.99.100,IP:6162:6364:2e65:7861:6d70:6c65:2e63:6f6d