123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488 |
- # Generated with generate_ssl_tests.pl
- num_tests = 14
- test-0 = 0-server-auth-TLSv1.3
- test-1 = 1-client-auth-TLSv1.3-request
- test-2 = 2-client-auth-TLSv1.3-require-fail
- test-3 = 3-client-auth-TLSv1.3-require
- test-4 = 4-client-auth-TLSv1.3-require-non-empty-names
- test-5 = 5-client-auth-TLSv1.3-noroot
- test-6 = 6-client-auth-TLSv1.3-request-post-handshake
- test-7 = 7-client-auth-TLSv1.3-require-fail-post-handshake
- test-8 = 8-client-auth-TLSv1.3-require-post-handshake
- test-9 = 9-client-auth-TLSv1.3-require-non-empty-names-post-handshake
- test-10 = 10-client-auth-TLSv1.3-noroot-post-handshake
- test-11 = 11-client-auth-TLSv1.3-request-force-client-post-handshake
- test-12 = 12-client-auth-TLSv1.3-request-force-server-post-handshake
- test-13 = 13-client-auth-TLSv1.3-request-force-both-post-handshake
- # ===========================================================
- [0-server-auth-TLSv1.3]
- ssl_conf = 0-server-auth-TLSv1.3-ssl
- [0-server-auth-TLSv1.3-ssl]
- server = 0-server-auth-TLSv1.3-server
- client = 0-server-auth-TLSv1.3-client
- [0-server-auth-TLSv1.3-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [0-server-auth-TLSv1.3-client]
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-0]
- ExpectedResult = Success
- # ===========================================================
- [1-client-auth-TLSv1.3-request]
- ssl_conf = 1-client-auth-TLSv1.3-request-ssl
- [1-client-auth-TLSv1.3-request-ssl]
- server = 1-client-auth-TLSv1.3-request-server
- client = 1-client-auth-TLSv1.3-request-client
- [1-client-auth-TLSv1.3-request-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyMode = Request
- [1-client-auth-TLSv1.3-request-client]
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-1]
- ExpectedResult = Success
- # ===========================================================
- [2-client-auth-TLSv1.3-require-fail]
- ssl_conf = 2-client-auth-TLSv1.3-require-fail-ssl
- [2-client-auth-TLSv1.3-require-fail-ssl]
- server = 2-client-auth-TLSv1.3-require-fail-server
- client = 2-client-auth-TLSv1.3-require-fail-client
- [2-client-auth-TLSv1.3-require-fail-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Require
- [2-client-auth-TLSv1.3-require-fail-client]
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-2]
- ExpectedResult = ServerFail
- ExpectedServerAlert = CertificateRequired
- # ===========================================================
- [3-client-auth-TLSv1.3-require]
- ssl_conf = 3-client-auth-TLSv1.3-require-ssl
- [3-client-auth-TLSv1.3-require-ssl]
- server = 3-client-auth-TLSv1.3-require-server
- client = 3-client-auth-TLSv1.3-require-client
- [3-client-auth-TLSv1.3-require-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- ClientSignatureAlgorithms = PSS+SHA256
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Request
- [3-client-auth-TLSv1.3-require-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-3]
- ExpectedClientCANames = empty
- ExpectedClientCertType = RSA
- ExpectedClientSignHash = SHA256
- ExpectedClientSignType = RSA-PSS
- ExpectedResult = Success
- # ===========================================================
- [4-client-auth-TLSv1.3-require-non-empty-names]
- ssl_conf = 4-client-auth-TLSv1.3-require-non-empty-names-ssl
- [4-client-auth-TLSv1.3-require-non-empty-names-ssl]
- server = 4-client-auth-TLSv1.3-require-non-empty-names-server
- client = 4-client-auth-TLSv1.3-require-non-empty-names-client
- [4-client-auth-TLSv1.3-require-non-empty-names-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- ClientCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- ClientSignatureAlgorithms = PSS+SHA256
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Request
- [4-client-auth-TLSv1.3-require-non-empty-names-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-4]
- ExpectedClientCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- ExpectedClientCertType = RSA
- ExpectedClientSignHash = SHA256
- ExpectedClientSignType = RSA-PSS
- ExpectedResult = Success
- # ===========================================================
- [5-client-auth-TLSv1.3-noroot]
- ssl_conf = 5-client-auth-TLSv1.3-noroot-ssl
- [5-client-auth-TLSv1.3-noroot-ssl]
- server = 5-client-auth-TLSv1.3-noroot-server
- client = 5-client-auth-TLSv1.3-noroot-client
- [5-client-auth-TLSv1.3-noroot-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyMode = Require
- [5-client-auth-TLSv1.3-noroot-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-5]
- ExpectedResult = ServerFail
- ExpectedServerAlert = UnknownCA
- # ===========================================================
- [6-client-auth-TLSv1.3-request-post-handshake]
- ssl_conf = 6-client-auth-TLSv1.3-request-post-handshake-ssl
- [6-client-auth-TLSv1.3-request-post-handshake-ssl]
- server = 6-client-auth-TLSv1.3-request-post-handshake-server
- client = 6-client-auth-TLSv1.3-request-post-handshake-client
- [6-client-auth-TLSv1.3-request-post-handshake-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyMode = RequestPostHandshake
- [6-client-auth-TLSv1.3-request-post-handshake-client]
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-6]
- ExpectedResult = ServerFail
- HandshakeMode = PostHandshakeAuth
- # ===========================================================
- [7-client-auth-TLSv1.3-require-fail-post-handshake]
- ssl_conf = 7-client-auth-TLSv1.3-require-fail-post-handshake-ssl
- [7-client-auth-TLSv1.3-require-fail-post-handshake-ssl]
- server = 7-client-auth-TLSv1.3-require-fail-post-handshake-server
- client = 7-client-auth-TLSv1.3-require-fail-post-handshake-client
- [7-client-auth-TLSv1.3-require-fail-post-handshake-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = RequirePostHandshake
- [7-client-auth-TLSv1.3-require-fail-post-handshake-client]
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-7]
- ExpectedResult = ServerFail
- HandshakeMode = PostHandshakeAuth
- # ===========================================================
- [8-client-auth-TLSv1.3-require-post-handshake]
- ssl_conf = 8-client-auth-TLSv1.3-require-post-handshake-ssl
- [8-client-auth-TLSv1.3-require-post-handshake-ssl]
- server = 8-client-auth-TLSv1.3-require-post-handshake-server
- client = 8-client-auth-TLSv1.3-require-post-handshake-client
- [8-client-auth-TLSv1.3-require-post-handshake-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- ClientSignatureAlgorithms = PSS+SHA256
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = RequestPostHandshake
- [8-client-auth-TLSv1.3-require-post-handshake-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-8]
- ExpectedClientCANames = empty
- ExpectedClientCertType = RSA
- ExpectedClientSignHash = SHA256
- ExpectedClientSignType = RSA-PSS
- ExpectedResult = Success
- HandshakeMode = PostHandshakeAuth
- client = 8-client-auth-TLSv1.3-require-post-handshake-client-extra
- [8-client-auth-TLSv1.3-require-post-handshake-client-extra]
- EnablePHA = Yes
- # ===========================================================
- [9-client-auth-TLSv1.3-require-non-empty-names-post-handshake]
- ssl_conf = 9-client-auth-TLSv1.3-require-non-empty-names-post-handshake-ssl
- [9-client-auth-TLSv1.3-require-non-empty-names-post-handshake-ssl]
- server = 9-client-auth-TLSv1.3-require-non-empty-names-post-handshake-server
- client = 9-client-auth-TLSv1.3-require-non-empty-names-post-handshake-client
- [9-client-auth-TLSv1.3-require-non-empty-names-post-handshake-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- ClientCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- ClientSignatureAlgorithms = PSS+SHA256
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = RequestPostHandshake
- [9-client-auth-TLSv1.3-require-non-empty-names-post-handshake-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-9]
- ExpectedClientCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- ExpectedClientCertType = RSA
- ExpectedClientSignHash = SHA256
- ExpectedClientSignType = RSA-PSS
- ExpectedResult = Success
- HandshakeMode = PostHandshakeAuth
- client = 9-client-auth-TLSv1.3-require-non-empty-names-post-handshake-client-extra
- [9-client-auth-TLSv1.3-require-non-empty-names-post-handshake-client-extra]
- EnablePHA = Yes
- # ===========================================================
- [10-client-auth-TLSv1.3-noroot-post-handshake]
- ssl_conf = 10-client-auth-TLSv1.3-noroot-post-handshake-ssl
- [10-client-auth-TLSv1.3-noroot-post-handshake-ssl]
- server = 10-client-auth-TLSv1.3-noroot-post-handshake-server
- client = 10-client-auth-TLSv1.3-noroot-post-handshake-client
- [10-client-auth-TLSv1.3-noroot-post-handshake-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyMode = RequirePostHandshake
- [10-client-auth-TLSv1.3-noroot-post-handshake-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-10]
- ExpectedResult = ServerFail
- ExpectedServerAlert = UnknownCA
- HandshakeMode = PostHandshakeAuth
- client = 10-client-auth-TLSv1.3-noroot-post-handshake-client-extra
- [10-client-auth-TLSv1.3-noroot-post-handshake-client-extra]
- EnablePHA = Yes
- # ===========================================================
- [11-client-auth-TLSv1.3-request-force-client-post-handshake]
- ssl_conf = 11-client-auth-TLSv1.3-request-force-client-post-handshake-ssl
- [11-client-auth-TLSv1.3-request-force-client-post-handshake-ssl]
- server = 11-client-auth-TLSv1.3-request-force-client-post-handshake-server
- client = 11-client-auth-TLSv1.3-request-force-client-post-handshake-client
- [11-client-auth-TLSv1.3-request-force-client-post-handshake-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyMode = RequestPostHandshake
- [11-client-auth-TLSv1.3-request-force-client-post-handshake-client]
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-11]
- ExpectedResult = Success
- HandshakeMode = PostHandshakeAuth
- client = 11-client-auth-TLSv1.3-request-force-client-post-handshake-client-extra
- [11-client-auth-TLSv1.3-request-force-client-post-handshake-client-extra]
- EnablePHA = Yes
- # ===========================================================
- [12-client-auth-TLSv1.3-request-force-server-post-handshake]
- ssl_conf = 12-client-auth-TLSv1.3-request-force-server-post-handshake-ssl
- [12-client-auth-TLSv1.3-request-force-server-post-handshake-ssl]
- server = 12-client-auth-TLSv1.3-request-force-server-post-handshake-server
- client = 12-client-auth-TLSv1.3-request-force-server-post-handshake-client
- [12-client-auth-TLSv1.3-request-force-server-post-handshake-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyMode = RequestPostHandshake
- [12-client-auth-TLSv1.3-request-force-server-post-handshake-client]
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-12]
- ExpectedResult = ClientFail
- HandshakeMode = PostHandshakeAuth
- server = 12-client-auth-TLSv1.3-request-force-server-post-handshake-server-extra
- [12-client-auth-TLSv1.3-request-force-server-post-handshake-server-extra]
- ForcePHA = Yes
- # ===========================================================
- [13-client-auth-TLSv1.3-request-force-both-post-handshake]
- ssl_conf = 13-client-auth-TLSv1.3-request-force-both-post-handshake-ssl
- [13-client-auth-TLSv1.3-request-force-both-post-handshake-ssl]
- server = 13-client-auth-TLSv1.3-request-force-both-post-handshake-server
- client = 13-client-auth-TLSv1.3-request-force-both-post-handshake-client
- [13-client-auth-TLSv1.3-request-force-both-post-handshake-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyMode = RequestPostHandshake
- [13-client-auth-TLSv1.3-request-force-both-post-handshake-client]
- CipherString = DEFAULT
- MaxProtocol = TLSv1.3
- MinProtocol = TLSv1.3
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-13]
- ExpectedResult = Success
- HandshakeMode = PostHandshakeAuth
- server = 13-client-auth-TLSv1.3-request-force-both-post-handshake-server-extra
- client = 13-client-auth-TLSv1.3-request-force-both-post-handshake-client-extra
- [13-client-auth-TLSv1.3-request-force-both-post-handshake-server-extra]
- ForcePHA = Yes
- [13-client-auth-TLSv1.3-request-force-both-post-handshake-client-extra]
- EnablePHA = Yes
|