123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554 |
- # Generated with generate_ssl_tests.pl
- num_tests = 18
- test-0 = 0-renegotiate-client-no-resume
- test-1 = 1-renegotiate-client-resume
- test-2 = 2-renegotiate-server-no-resume
- test-3 = 3-renegotiate-server-resume
- test-4 = 4-renegotiate-client-auth-require
- test-5 = 5-renegotiate-client-auth-once
- test-6 = 6-renegotiate-client-legacy-connect
- test-7 = 7-renegotiate-aead-to-non-aead
- test-8 = 8-renegotiate-non-aead-to-aead
- test-9 = 9-renegotiate-non-aead-to-non-aead
- test-10 = 10-renegotiate-aead-to-aead
- test-11 = 11-no-renegotiation-server-by-client
- test-12 = 12-no-renegotiation-server-by-server
- test-13 = 13-no-renegotiation-client-by-server
- test-14 = 14-no-renegotiation-client-by-client
- test-15 = 15-no-extms-on-renegotiation
- test-16 = 16-allow-client-renegotiation
- test-17 = 17-no-client-renegotiation
- # ===========================================================
- [0-renegotiate-client-no-resume]
- ssl_conf = 0-renegotiate-client-no-resume-ssl
- [0-renegotiate-client-no-resume-ssl]
- server = 0-renegotiate-client-no-resume-server
- client = 0-renegotiate-client-no-resume-client
- [0-renegotiate-client-no-resume-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.2
- Options = NoResumptionOnRenegotiation
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [0-renegotiate-client-no-resume-client]
- CipherString = DEFAULT
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-0]
- ExpectedResult = Success
- HandshakeMode = RenegotiateClient
- Method = TLS
- ResumptionExpected = No
- # ===========================================================
- [1-renegotiate-client-resume]
- ssl_conf = 1-renegotiate-client-resume-ssl
- [1-renegotiate-client-resume-ssl]
- server = 1-renegotiate-client-resume-server
- client = 1-renegotiate-client-resume-client
- [1-renegotiate-client-resume-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [1-renegotiate-client-resume-client]
- CipherString = DEFAULT
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-1]
- ExpectedResult = Success
- HandshakeMode = RenegotiateClient
- Method = TLS
- ResumptionExpected = Yes
- # ===========================================================
- [2-renegotiate-server-no-resume]
- ssl_conf = 2-renegotiate-server-no-resume-ssl
- [2-renegotiate-server-no-resume-ssl]
- server = 2-renegotiate-server-no-resume-server
- client = 2-renegotiate-server-no-resume-client
- [2-renegotiate-server-no-resume-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.2
- Options = NoResumptionOnRenegotiation
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [2-renegotiate-server-no-resume-client]
- CipherString = DEFAULT
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-2]
- ExpectedResult = Success
- HandshakeMode = RenegotiateServer
- Method = TLS
- ResumptionExpected = No
- # ===========================================================
- [3-renegotiate-server-resume]
- ssl_conf = 3-renegotiate-server-resume-ssl
- [3-renegotiate-server-resume-ssl]
- server = 3-renegotiate-server-resume-server
- client = 3-renegotiate-server-resume-client
- [3-renegotiate-server-resume-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [3-renegotiate-server-resume-client]
- CipherString = DEFAULT
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-3]
- ExpectedResult = Success
- HandshakeMode = RenegotiateServer
- Method = TLS
- ResumptionExpected = Yes
- # ===========================================================
- [4-renegotiate-client-auth-require]
- ssl_conf = 4-renegotiate-client-auth-require-ssl
- [4-renegotiate-client-auth-require-ssl]
- server = 4-renegotiate-client-auth-require-server
- client = 4-renegotiate-client-auth-require-client
- [4-renegotiate-client-auth-require-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.2
- Options = NoResumptionOnRenegotiation
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Require
- [4-renegotiate-client-auth-require-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-4]
- ExpectedResult = Success
- HandshakeMode = RenegotiateServer
- Method = TLS
- ResumptionExpected = No
- # ===========================================================
- [5-renegotiate-client-auth-once]
- ssl_conf = 5-renegotiate-client-auth-once-ssl
- [5-renegotiate-client-auth-once-ssl]
- server = 5-renegotiate-client-auth-once-server
- client = 5-renegotiate-client-auth-once-client
- [5-renegotiate-client-auth-once-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.2
- Options = NoResumptionOnRenegotiation
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Once
- [5-renegotiate-client-auth-once-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-5]
- ExpectedResult = Success
- HandshakeMode = RenegotiateServer
- Method = TLS
- ResumptionExpected = No
- # ===========================================================
- [6-renegotiate-client-legacy-connect]
- ssl_conf = 6-renegotiate-client-legacy-connect-ssl
- [6-renegotiate-client-legacy-connect-ssl]
- server = 6-renegotiate-client-legacy-connect-server
- client = 6-renegotiate-client-legacy-connect-client
- [6-renegotiate-client-legacy-connect-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [6-renegotiate-client-legacy-connect-client]
- CipherString = DEFAULT
- Options = UnsafeLegacyServerConnect
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-6]
- ExpectedResult = Success
- HandshakeMode = RenegotiateClient
- Method = TLS
- ResumptionExpected = Yes
- # ===========================================================
- [7-renegotiate-aead-to-non-aead]
- ssl_conf = 7-renegotiate-aead-to-non-aead-ssl
- [7-renegotiate-aead-to-non-aead-ssl]
- server = 7-renegotiate-aead-to-non-aead-server
- client = 7-renegotiate-aead-to-non-aead-client
- [7-renegotiate-aead-to-non-aead-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- Options = NoResumptionOnRenegotiation
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [7-renegotiate-aead-to-non-aead-client]
- CipherString = AES128-GCM-SHA256
- MaxProtocol = TLSv1.2
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-7]
- ExpectedResult = Success
- HandshakeMode = RenegotiateClient
- Method = TLS
- ResumptionExpected = No
- client = 7-renegotiate-aead-to-non-aead-client-extra
- [7-renegotiate-aead-to-non-aead-client-extra]
- RenegotiateCiphers = AES128-SHA
- # ===========================================================
- [8-renegotiate-non-aead-to-aead]
- ssl_conf = 8-renegotiate-non-aead-to-aead-ssl
- [8-renegotiate-non-aead-to-aead-ssl]
- server = 8-renegotiate-non-aead-to-aead-server
- client = 8-renegotiate-non-aead-to-aead-client
- [8-renegotiate-non-aead-to-aead-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- Options = NoResumptionOnRenegotiation
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [8-renegotiate-non-aead-to-aead-client]
- CipherString = AES128-SHA
- MaxProtocol = TLSv1.2
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-8]
- ExpectedResult = Success
- HandshakeMode = RenegotiateClient
- Method = TLS
- ResumptionExpected = No
- client = 8-renegotiate-non-aead-to-aead-client-extra
- [8-renegotiate-non-aead-to-aead-client-extra]
- RenegotiateCiphers = AES128-GCM-SHA256
- # ===========================================================
- [9-renegotiate-non-aead-to-non-aead]
- ssl_conf = 9-renegotiate-non-aead-to-non-aead-ssl
- [9-renegotiate-non-aead-to-non-aead-ssl]
- server = 9-renegotiate-non-aead-to-non-aead-server
- client = 9-renegotiate-non-aead-to-non-aead-client
- [9-renegotiate-non-aead-to-non-aead-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- Options = NoResumptionOnRenegotiation
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [9-renegotiate-non-aead-to-non-aead-client]
- CipherString = AES128-SHA
- MaxProtocol = TLSv1.2
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-9]
- ExpectedResult = Success
- HandshakeMode = RenegotiateClient
- Method = TLS
- ResumptionExpected = No
- client = 9-renegotiate-non-aead-to-non-aead-client-extra
- [9-renegotiate-non-aead-to-non-aead-client-extra]
- RenegotiateCiphers = AES256-SHA
- # ===========================================================
- [10-renegotiate-aead-to-aead]
- ssl_conf = 10-renegotiate-aead-to-aead-ssl
- [10-renegotiate-aead-to-aead-ssl]
- server = 10-renegotiate-aead-to-aead-server
- client = 10-renegotiate-aead-to-aead-client
- [10-renegotiate-aead-to-aead-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- Options = NoResumptionOnRenegotiation
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [10-renegotiate-aead-to-aead-client]
- CipherString = AES128-GCM-SHA256
- MaxProtocol = TLSv1.2
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-10]
- ExpectedResult = Success
- HandshakeMode = RenegotiateClient
- Method = TLS
- ResumptionExpected = No
- client = 10-renegotiate-aead-to-aead-client-extra
- [10-renegotiate-aead-to-aead-client-extra]
- RenegotiateCiphers = AES256-GCM-SHA384
- # ===========================================================
- [11-no-renegotiation-server-by-client]
- ssl_conf = 11-no-renegotiation-server-by-client-ssl
- [11-no-renegotiation-server-by-client-ssl]
- server = 11-no-renegotiation-server-by-client-server
- client = 11-no-renegotiation-server-by-client-client
- [11-no-renegotiation-server-by-client-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.2
- Options = NoRenegotiation
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [11-no-renegotiation-server-by-client-client]
- CipherString = DEFAULT
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-11]
- ExpectedResult = ClientFail
- HandshakeMode = RenegotiateClient
- Method = TLS
- ResumptionExpected = No
- # ===========================================================
- [12-no-renegotiation-server-by-server]
- ssl_conf = 12-no-renegotiation-server-by-server-ssl
- [12-no-renegotiation-server-by-server-ssl]
- server = 12-no-renegotiation-server-by-server-server
- client = 12-no-renegotiation-server-by-server-client
- [12-no-renegotiation-server-by-server-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.2
- Options = NoRenegotiation
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [12-no-renegotiation-server-by-server-client]
- CipherString = DEFAULT
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-12]
- ExpectedResult = ServerFail
- HandshakeMode = RenegotiateServer
- Method = TLS
- ResumptionExpected = No
- # ===========================================================
- [13-no-renegotiation-client-by-server]
- ssl_conf = 13-no-renegotiation-client-by-server-ssl
- [13-no-renegotiation-client-by-server-ssl]
- server = 13-no-renegotiation-client-by-server-server
- client = 13-no-renegotiation-client-by-server-client
- [13-no-renegotiation-client-by-server-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [13-no-renegotiation-client-by-server-client]
- CipherString = DEFAULT
- Options = NoRenegotiation
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-13]
- ExpectedResult = ServerFail
- HandshakeMode = RenegotiateServer
- Method = TLS
- ResumptionExpected = No
- # ===========================================================
- [14-no-renegotiation-client-by-client]
- ssl_conf = 14-no-renegotiation-client-by-client-ssl
- [14-no-renegotiation-client-by-client-ssl]
- server = 14-no-renegotiation-client-by-client-server
- client = 14-no-renegotiation-client-by-client-client
- [14-no-renegotiation-client-by-client-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [14-no-renegotiation-client-by-client-client]
- CipherString = DEFAULT
- Options = NoRenegotiation
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-14]
- ExpectedResult = ClientFail
- HandshakeMode = RenegotiateClient
- Method = TLS
- ResumptionExpected = No
- # ===========================================================
- [15-no-extms-on-renegotiation]
- ssl_conf = 15-no-extms-on-renegotiation-ssl
- [15-no-extms-on-renegotiation-ssl]
- server = 15-no-extms-on-renegotiation-server
- client = 15-no-extms-on-renegotiation-client
- [15-no-extms-on-renegotiation-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [15-no-extms-on-renegotiation-client]
- CipherString = DEFAULT
- MaxProtocol = TLSv1.2
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-15]
- ExpectedResult = ServerFail
- HandshakeMode = RenegotiateClient
- Method = TLS
- ResumptionExpected = No
- client = 15-no-extms-on-renegotiation-client-extra
- [15-no-extms-on-renegotiation-client-extra]
- RenegotiateNoExtms = Yes
- # ===========================================================
- [16-allow-client-renegotiation]
- ssl_conf = 16-allow-client-renegotiation-ssl
- [16-allow-client-renegotiation-ssl]
- server = 16-allow-client-renegotiation-server
- client = 16-allow-client-renegotiation-client
- [16-allow-client-renegotiation-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [16-allow-client-renegotiation-client]
- CipherString = DEFAULT
- MaxProtocol = TLSv1.2
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-16]
- ExpectedResult = Success
- HandshakeMode = RenegotiateClient
- Method = TLS
- ResumptionExpected = Yes
- # ===========================================================
- [17-no-client-renegotiation]
- ssl_conf = 17-no-client-renegotiation-ssl
- [17-no-client-renegotiation-ssl]
- server = 17-no-client-renegotiation-server
- client = 17-no-client-renegotiation-client
- [17-no-client-renegotiation-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.2
- Options = -ClientRenegotiation
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [17-no-client-renegotiation-client]
- CipherString = DEFAULT
- MaxProtocol = TLSv1.2
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-17]
- ExpectedResult = ClientFail
- ExpectedServerAlert = NoRenegotiation
- HandshakeMode = RenegotiateClient
- Method = TLS
- ResumptionExpected = No
|