01-simple.cnf 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # Generated with generate_ssl_tests.pl
  2. num_tests = 3
  3. test-0 = 0-default
  4. test-1 = 1-Server signature algorithms bug
  5. test-2 = 2-verify-cert
  6. # ===========================================================
  7. [0-default]
  8. ssl_conf = 0-default-ssl
  9. [0-default-ssl]
  10. server = 0-default-server
  11. client = 0-default-client
  12. [0-default-server]
  13. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  14. CipherString = DEFAULT
  15. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  16. [0-default-client]
  17. CipherString = DEFAULT
  18. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  19. VerifyMode = Peer
  20. [test-0]
  21. ExpectedResult = Success
  22. # ===========================================================
  23. [1-Server signature algorithms bug]
  24. ssl_conf = 1-Server signature algorithms bug-ssl
  25. [1-Server signature algorithms bug-ssl]
  26. server = 1-Server signature algorithms bug-server
  27. client = 1-Server signature algorithms bug-client
  28. [1-Server signature algorithms bug-server]
  29. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  30. CipherString = DEFAULT
  31. ClientSignatureAlgorithms = PSS+SHA512:RSA+SHA512
  32. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  33. [1-Server signature algorithms bug-client]
  34. CipherString = DEFAULT
  35. SignatureAlgorithms = PSS+SHA256:RSA+SHA256
  36. VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
  37. VerifyMode = Peer
  38. [test-1]
  39. ExpectedResult = Success
  40. # ===========================================================
  41. [2-verify-cert]
  42. ssl_conf = 2-verify-cert-ssl
  43. [2-verify-cert-ssl]
  44. server = 2-verify-cert-server
  45. client = 2-verify-cert-client
  46. [2-verify-cert-server]
  47. Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
  48. CipherString = DEFAULT
  49. PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
  50. [2-verify-cert-client]
  51. CipherString = DEFAULT
  52. VerifyMode = Peer
  53. [test-2]
  54. ExpectedClientAlert = UnknownCA
  55. ExpectedResult = ClientFail