01-simple.cnf 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. # Generated with generate_ssl_tests.pl
  2. num_tests = 4
  3. test-0 = 0-default
  4. test-1 = 1-Server signature algorithms bug
  5. test-2 = 2-verify-cert
  6. test-3 = 3-name-constraints-no-san-in-ee
  7. # ===========================================================
  8. [0-default]
  9. ssl_conf = 0-default-ssl
  10. [0-default-ssl]
  11. server = 0-default-server
  12. client = 0-default-client
  13. [0-default-server]
  14. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  15. CipherString = DEFAULT
  16. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  17. [0-default-client]
  18. CipherString = DEFAULT
  19. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  20. VerifyMode = Peer
  21. [test-0]
  22. ExpectedResult = Success
  23. # ===========================================================
  24. [1-Server signature algorithms bug]
  25. ssl_conf = 1-Server signature algorithms bug-ssl
  26. [1-Server signature algorithms bug-ssl]
  27. server = 1-Server signature algorithms bug-server
  28. client = 1-Server signature algorithms bug-client
  29. [1-Server signature algorithms bug-server]
  30. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  31. CipherString = DEFAULT
  32. ClientSignatureAlgorithms = PSS+SHA512:RSA+SHA512
  33. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  34. [1-Server signature algorithms bug-client]
  35. CipherString = DEFAULT
  36. SignatureAlgorithms = PSS+SHA256:RSA+SHA256
  37. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  38. VerifyMode = Peer
  39. [test-1]
  40. ExpectedResult = Success
  41. # ===========================================================
  42. [2-verify-cert]
  43. ssl_conf = 2-verify-cert-ssl
  44. [2-verify-cert-ssl]
  45. server = 2-verify-cert-server
  46. client = 2-verify-cert-client
  47. [2-verify-cert-server]
  48. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  49. CipherString = DEFAULT
  50. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  51. [2-verify-cert-client]
  52. CipherString = DEFAULT
  53. VerifyMode = Peer
  54. [test-2]
  55. ExpectedClientAlert = UnknownCA
  56. ExpectedResult = ClientFail
  57. # ===========================================================
  58. [3-name-constraints-no-san-in-ee]
  59. ssl_conf = 3-name-constraints-no-san-in-ee-ssl
  60. [3-name-constraints-no-san-in-ee-ssl]
  61. server = 3-name-constraints-no-san-in-ee-server
  62. client = 3-name-constraints-no-san-in-ee-client
  63. [3-name-constraints-no-san-in-ee-server]
  64. Certificate = ${ENV::TEST_CERTS_DIR}/goodcn2-chain.pem
  65. CipherString = DEFAULT
  66. PrivateKey = ${ENV::TEST_CERTS_DIR}/goodcn2-key.pem
  67. [3-name-constraints-no-san-in-ee-client]
  68. CipherString = DEFAULT
  69. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
  70. VerifyMode = Peer
  71. [test-3]
  72. ExpectedResult = Success