2016-03-17 22:14:30 +08:00
|
|
|
# Generated with generate_ssl_tests.pl
|
|
|
|
|
2021-12-03 23:18:27 +08:00
|
|
|
num_tests = 4
|
2016-03-17 22:14:30 +08:00
|
|
|
|
|
|
|
test-0 = 0-default
|
2017-01-26 02:43:13 +08:00
|
|
|
test-1 = 1-Server signature algorithms bug
|
|
|
|
test-2 = 2-verify-cert
|
2021-12-03 23:18:27 +08:00
|
|
|
test-3 = 3-name-constraints-no-san-in-ee
|
2016-03-17 22:14:30 +08:00
|
|
|
# ===========================================================
|
|
|
|
|
|
|
|
[0-default]
|
|
|
|
ssl_conf = 0-default-ssl
|
|
|
|
|
|
|
|
[0-default-ssl]
|
|
|
|
server = 0-default-server
|
|
|
|
client = 0-default-client
|
|
|
|
|
|
|
|
[0-default-server]
|
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
|
|
|
|
[0-default-client]
|
|
|
|
CipherString = DEFAULT
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
|
|
|
[test-0]
|
|
|
|
ExpectedResult = Success
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-01-26 02:43:13 +08:00
|
|
|
[1-Server signature algorithms bug]
|
|
|
|
ssl_conf = 1-Server signature algorithms bug-ssl
|
2016-03-17 22:14:30 +08:00
|
|
|
|
2017-01-26 02:43:13 +08:00
|
|
|
[1-Server signature algorithms bug-ssl]
|
|
|
|
server = 1-Server signature algorithms bug-server
|
|
|
|
client = 1-Server signature algorithms bug-client
|
2016-03-17 22:14:30 +08:00
|
|
|
|
2017-01-26 02:43:13 +08:00
|
|
|
[1-Server signature algorithms bug-server]
|
2016-03-17 22:14:30 +08:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
2017-01-29 03:45:33 +08:00
|
|
|
ClientSignatureAlgorithms = PSS+SHA512:RSA+SHA512
|
2016-03-17 22:14:30 +08:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
|
2017-01-26 02:43:13 +08:00
|
|
|
[1-Server signature algorithms bug-client]
|
2016-03-17 22:14:30 +08:00
|
|
|
CipherString = DEFAULT
|
2017-01-29 03:45:33 +08:00
|
|
|
SignatureAlgorithms = PSS+SHA256:RSA+SHA256
|
2017-01-26 02:43:13 +08:00
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
2016-03-17 22:14:30 +08:00
|
|
|
VerifyMode = Peer
|
|
|
|
|
|
|
|
[test-1]
|
2017-01-26 02:43:13 +08:00
|
|
|
ExpectedResult = Success
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
|
|
|
[2-verify-cert]
|
|
|
|
ssl_conf = 2-verify-cert-ssl
|
|
|
|
|
|
|
|
[2-verify-cert-ssl]
|
|
|
|
server = 2-verify-cert-server
|
|
|
|
client = 2-verify-cert-client
|
|
|
|
|
|
|
|
[2-verify-cert-server]
|
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
|
|
|
|
[2-verify-cert-client]
|
|
|
|
CipherString = DEFAULT
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
|
|
|
[test-2]
|
2016-07-21 22:29:48 +08:00
|
|
|
ExpectedClientAlert = UnknownCA
|
2016-03-17 22:14:30 +08:00
|
|
|
ExpectedResult = ClientFail
|
|
|
|
|
|
|
|
|
2021-12-03 23:18:27 +08:00
|
|
|
# ===========================================================
|
|
|
|
|
|
|
|
[3-name-constraints-no-san-in-ee]
|
|
|
|
ssl_conf = 3-name-constraints-no-san-in-ee-ssl
|
|
|
|
|
|
|
|
[3-name-constraints-no-san-in-ee-ssl]
|
|
|
|
server = 3-name-constraints-no-san-in-ee-server
|
|
|
|
client = 3-name-constraints-no-san-in-ee-client
|
|
|
|
|
|
|
|
[3-name-constraints-no-san-in-ee-server]
|
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/goodcn2-chain.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/goodcn2-key.pem
|
|
|
|
|
|
|
|
[3-name-constraints-no-san-in-ee-client]
|
|
|
|
CipherString = DEFAULT
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
|
|
|
[test-3]
|
|
|
|
ExpectedResult = Success
|
|
|
|
|
|
|
|
|