123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266 |
- # Generated with generate_ssl_tests.pl
- num_tests = 40
- test-0 = 0-server-auth-flex
- test-1 = 1-client-auth-flex-request
- test-2 = 2-client-auth-flex-require-fail
- test-3 = 3-client-auth-flex-require
- test-4 = 4-client-auth-flex-rsa-pss
- test-5 = 5-client-auth-flex-rsa-pss-bad
- test-6 = 6-client-auth-flex-require-non-empty-names
- test-7 = 7-client-auth-flex-noroot
- test-8 = 8-server-auth-TLSv1
- test-9 = 9-client-auth-TLSv1-request
- test-10 = 10-client-auth-TLSv1-require-fail
- test-11 = 11-client-auth-TLSv1-require
- test-12 = 12-client-auth-TLSv1-require-non-empty-names
- test-13 = 13-client-auth-TLSv1-noroot
- test-14 = 14-server-auth-TLSv1.1
- test-15 = 15-client-auth-TLSv1.1-request
- test-16 = 16-client-auth-TLSv1.1-require-fail
- test-17 = 17-client-auth-TLSv1.1-require
- test-18 = 18-client-auth-TLSv1.1-require-non-empty-names
- test-19 = 19-client-auth-TLSv1.1-noroot
- test-20 = 20-server-auth-TLSv1.2
- test-21 = 21-client-auth-TLSv1.2-request
- test-22 = 22-client-auth-TLSv1.2-require-fail
- test-23 = 23-client-auth-TLSv1.2-require
- test-24 = 24-client-auth-TLSv1.2-rsa-pss
- test-25 = 25-client-auth-TLSv1.2-rsa-pss-bad
- test-26 = 26-client-auth-TLSv1.2-require-non-empty-names
- test-27 = 27-client-auth-TLSv1.2-noroot
- test-28 = 28-server-auth-DTLSv1
- test-29 = 29-client-auth-DTLSv1-request
- test-30 = 30-client-auth-DTLSv1-require-fail
- test-31 = 31-client-auth-DTLSv1-require
- test-32 = 32-client-auth-DTLSv1-require-non-empty-names
- test-33 = 33-client-auth-DTLSv1-noroot
- test-34 = 34-server-auth-DTLSv1.2
- test-35 = 35-client-auth-DTLSv1.2-request
- test-36 = 36-client-auth-DTLSv1.2-require-fail
- test-37 = 37-client-auth-DTLSv1.2-require
- test-38 = 38-client-auth-DTLSv1.2-require-non-empty-names
- test-39 = 39-client-auth-DTLSv1.2-noroot
- # ===========================================================
- [0-server-auth-flex]
- ssl_conf = 0-server-auth-flex-ssl
- [0-server-auth-flex-ssl]
- server = 0-server-auth-flex-server
- client = 0-server-auth-flex-client
- [0-server-auth-flex-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [0-server-auth-flex-client]
- CipherString = DEFAULT:@SECLEVEL=0
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-0]
- ExpectedResult = Success
- # ===========================================================
- [1-client-auth-flex-request]
- ssl_conf = 1-client-auth-flex-request-ssl
- [1-client-auth-flex-request-ssl]
- server = 1-client-auth-flex-request-server
- client = 1-client-auth-flex-request-client
- [1-client-auth-flex-request-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyMode = Request
- [1-client-auth-flex-request-client]
- CipherString = DEFAULT:@SECLEVEL=0
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-1]
- ExpectedResult = Success
- # ===========================================================
- [2-client-auth-flex-require-fail]
- ssl_conf = 2-client-auth-flex-require-fail-ssl
- [2-client-auth-flex-require-fail-ssl]
- server = 2-client-auth-flex-require-fail-server
- client = 2-client-auth-flex-require-fail-client
- [2-client-auth-flex-require-fail-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Require
- [2-client-auth-flex-require-fail-client]
- CipherString = DEFAULT:@SECLEVEL=0
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-2]
- ExpectedResult = ServerFail
- ExpectedServerAlert = CertificateRequired
- # ===========================================================
- [3-client-auth-flex-require]
- ssl_conf = 3-client-auth-flex-require-ssl
- [3-client-auth-flex-require-ssl]
- server = 3-client-auth-flex-require-server
- client = 3-client-auth-flex-require-client
- [3-client-auth-flex-require-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Request
- [3-client-auth-flex-require-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT:@SECLEVEL=0
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-3]
- ExpectedClientCANames = empty
- ExpectedClientCertType = RSA
- ExpectedResult = Success
- # ===========================================================
- [4-client-auth-flex-rsa-pss]
- ssl_conf = 4-client-auth-flex-rsa-pss-ssl
- [4-client-auth-flex-rsa-pss-ssl]
- server = 4-client-auth-flex-rsa-pss-server
- client = 4-client-auth-flex-rsa-pss-client
- [4-client-auth-flex-rsa-pss-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- ClientCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Require
- [4-client-auth-flex-rsa-pss-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/client-pss-restrict-cert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- Options = StrictCertCheck
- PrivateKey = ${ENV::TEST_CERTS_DIR}/client-pss-restrict-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-4]
- ExpectedClientCANames = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- ExpectedClientCertType = RSA-PSS
- ExpectedResult = Success
- # ===========================================================
- [5-client-auth-flex-rsa-pss-bad]
- ssl_conf = 5-client-auth-flex-rsa-pss-bad-ssl
- [5-client-auth-flex-rsa-pss-bad-ssl]
- server = 5-client-auth-flex-rsa-pss-bad-server
- client = 5-client-auth-flex-rsa-pss-bad-client
- [5-client-auth-flex-rsa-pss-bad-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- ClientCAFile = ${ENV::TEST_CERTS_DIR}/rootCA.pem
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootCA.pem
- VerifyMode = Require
- [5-client-auth-flex-rsa-pss-bad-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/client-pss-restrict-cert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- Options = StrictCertCheck
- PrivateKey = ${ENV::TEST_CERTS_DIR}/client-pss-restrict-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-5]
- ExpectedResult = ServerFail
- ExpectedServerAlert = CertificateRequired
- # ===========================================================
- [6-client-auth-flex-require-non-empty-names]
- ssl_conf = 6-client-auth-flex-require-non-empty-names-ssl
- [6-client-auth-flex-require-non-empty-names-ssl]
- server = 6-client-auth-flex-require-non-empty-names-server
- client = 6-client-auth-flex-require-non-empty-names-client
- [6-client-auth-flex-require-non-empty-names-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- ClientCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Request
- [6-client-auth-flex-require-non-empty-names-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT:@SECLEVEL=0
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-6]
- ExpectedClientCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- ExpectedClientCertType = RSA
- ExpectedResult = Success
- # ===========================================================
- [7-client-auth-flex-noroot]
- ssl_conf = 7-client-auth-flex-noroot-ssl
- [7-client-auth-flex-noroot-ssl]
- server = 7-client-auth-flex-noroot-server
- client = 7-client-auth-flex-noroot-client
- [7-client-auth-flex-noroot-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyMode = Require
- [7-client-auth-flex-noroot-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT:@SECLEVEL=0
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-7]
- ExpectedResult = ServerFail
- ExpectedServerAlert = UnknownCA
- # ===========================================================
- [8-server-auth-TLSv1]
- ssl_conf = 8-server-auth-TLSv1-ssl
- [8-server-auth-TLSv1-ssl]
- server = 8-server-auth-TLSv1-server
- client = 8-server-auth-TLSv1-client
- [8-server-auth-TLSv1-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1
- MinProtocol = TLSv1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [8-server-auth-TLSv1-client]
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1
- MinProtocol = TLSv1
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-8]
- ExpectedResult = Success
- # ===========================================================
- [9-client-auth-TLSv1-request]
- ssl_conf = 9-client-auth-TLSv1-request-ssl
- [9-client-auth-TLSv1-request-ssl]
- server = 9-client-auth-TLSv1-request-server
- client = 9-client-auth-TLSv1-request-client
- [9-client-auth-TLSv1-request-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1
- MinProtocol = TLSv1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyMode = Request
- [9-client-auth-TLSv1-request-client]
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1
- MinProtocol = TLSv1
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-9]
- ExpectedResult = Success
- # ===========================================================
- [10-client-auth-TLSv1-require-fail]
- ssl_conf = 10-client-auth-TLSv1-require-fail-ssl
- [10-client-auth-TLSv1-require-fail-ssl]
- server = 10-client-auth-TLSv1-require-fail-server
- client = 10-client-auth-TLSv1-require-fail-client
- [10-client-auth-TLSv1-require-fail-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1
- MinProtocol = TLSv1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Require
- [10-client-auth-TLSv1-require-fail-client]
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1
- MinProtocol = TLSv1
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-10]
- ExpectedResult = ServerFail
- ExpectedServerAlert = HandshakeFailure
- # ===========================================================
- [11-client-auth-TLSv1-require]
- ssl_conf = 11-client-auth-TLSv1-require-ssl
- [11-client-auth-TLSv1-require-ssl]
- server = 11-client-auth-TLSv1-require-server
- client = 11-client-auth-TLSv1-require-client
- [11-client-auth-TLSv1-require-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1
- MinProtocol = TLSv1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Request
- [11-client-auth-TLSv1-require-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1
- MinProtocol = TLSv1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-11]
- ExpectedClientCANames = empty
- ExpectedClientCertType = RSA
- ExpectedResult = Success
- # ===========================================================
- [12-client-auth-TLSv1-require-non-empty-names]
- ssl_conf = 12-client-auth-TLSv1-require-non-empty-names-ssl
- [12-client-auth-TLSv1-require-non-empty-names-ssl]
- server = 12-client-auth-TLSv1-require-non-empty-names-server
- client = 12-client-auth-TLSv1-require-non-empty-names-client
- [12-client-auth-TLSv1-require-non-empty-names-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- ClientCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- MaxProtocol = TLSv1
- MinProtocol = TLSv1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Request
- [12-client-auth-TLSv1-require-non-empty-names-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1
- MinProtocol = TLSv1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-12]
- ExpectedClientCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- ExpectedClientCertType = RSA
- ExpectedResult = Success
- # ===========================================================
- [13-client-auth-TLSv1-noroot]
- ssl_conf = 13-client-auth-TLSv1-noroot-ssl
- [13-client-auth-TLSv1-noroot-ssl]
- server = 13-client-auth-TLSv1-noroot-server
- client = 13-client-auth-TLSv1-noroot-client
- [13-client-auth-TLSv1-noroot-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1
- MinProtocol = TLSv1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyMode = Require
- [13-client-auth-TLSv1-noroot-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1
- MinProtocol = TLSv1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-13]
- ExpectedResult = ServerFail
- ExpectedServerAlert = UnknownCA
- # ===========================================================
- [14-server-auth-TLSv1.1]
- ssl_conf = 14-server-auth-TLSv1.1-ssl
- [14-server-auth-TLSv1.1-ssl]
- server = 14-server-auth-TLSv1.1-server
- client = 14-server-auth-TLSv1.1-client
- [14-server-auth-TLSv1.1-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.1
- MinProtocol = TLSv1.1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [14-server-auth-TLSv1.1-client]
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.1
- MinProtocol = TLSv1.1
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-14]
- ExpectedResult = Success
- # ===========================================================
- [15-client-auth-TLSv1.1-request]
- ssl_conf = 15-client-auth-TLSv1.1-request-ssl
- [15-client-auth-TLSv1.1-request-ssl]
- server = 15-client-auth-TLSv1.1-request-server
- client = 15-client-auth-TLSv1.1-request-client
- [15-client-auth-TLSv1.1-request-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.1
- MinProtocol = TLSv1.1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyMode = Request
- [15-client-auth-TLSv1.1-request-client]
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.1
- MinProtocol = TLSv1.1
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-15]
- ExpectedResult = Success
- # ===========================================================
- [16-client-auth-TLSv1.1-require-fail]
- ssl_conf = 16-client-auth-TLSv1.1-require-fail-ssl
- [16-client-auth-TLSv1.1-require-fail-ssl]
- server = 16-client-auth-TLSv1.1-require-fail-server
- client = 16-client-auth-TLSv1.1-require-fail-client
- [16-client-auth-TLSv1.1-require-fail-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.1
- MinProtocol = TLSv1.1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Require
- [16-client-auth-TLSv1.1-require-fail-client]
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.1
- MinProtocol = TLSv1.1
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-16]
- ExpectedResult = ServerFail
- ExpectedServerAlert = HandshakeFailure
- # ===========================================================
- [17-client-auth-TLSv1.1-require]
- ssl_conf = 17-client-auth-TLSv1.1-require-ssl
- [17-client-auth-TLSv1.1-require-ssl]
- server = 17-client-auth-TLSv1.1-require-server
- client = 17-client-auth-TLSv1.1-require-client
- [17-client-auth-TLSv1.1-require-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.1
- MinProtocol = TLSv1.1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Request
- [17-client-auth-TLSv1.1-require-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.1
- MinProtocol = TLSv1.1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-17]
- ExpectedClientCANames = empty
- ExpectedClientCertType = RSA
- ExpectedResult = Success
- # ===========================================================
- [18-client-auth-TLSv1.1-require-non-empty-names]
- ssl_conf = 18-client-auth-TLSv1.1-require-non-empty-names-ssl
- [18-client-auth-TLSv1.1-require-non-empty-names-ssl]
- server = 18-client-auth-TLSv1.1-require-non-empty-names-server
- client = 18-client-auth-TLSv1.1-require-non-empty-names-client
- [18-client-auth-TLSv1.1-require-non-empty-names-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- ClientCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- MaxProtocol = TLSv1.1
- MinProtocol = TLSv1.1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Request
- [18-client-auth-TLSv1.1-require-non-empty-names-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.1
- MinProtocol = TLSv1.1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-18]
- ExpectedClientCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- ExpectedClientCertType = RSA
- ExpectedResult = Success
- # ===========================================================
- [19-client-auth-TLSv1.1-noroot]
- ssl_conf = 19-client-auth-TLSv1.1-noroot-ssl
- [19-client-auth-TLSv1.1-noroot-ssl]
- server = 19-client-auth-TLSv1.1-noroot-server
- client = 19-client-auth-TLSv1.1-noroot-client
- [19-client-auth-TLSv1.1-noroot-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.1
- MinProtocol = TLSv1.1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyMode = Require
- [19-client-auth-TLSv1.1-noroot-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.1
- MinProtocol = TLSv1.1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-19]
- ExpectedResult = ServerFail
- ExpectedServerAlert = UnknownCA
- # ===========================================================
- [20-server-auth-TLSv1.2]
- ssl_conf = 20-server-auth-TLSv1.2-ssl
- [20-server-auth-TLSv1.2-ssl]
- server = 20-server-auth-TLSv1.2-server
- client = 20-server-auth-TLSv1.2-client
- [20-server-auth-TLSv1.2-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.2
- MinProtocol = TLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [20-server-auth-TLSv1.2-client]
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.2
- MinProtocol = TLSv1.2
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-20]
- ExpectedResult = Success
- # ===========================================================
- [21-client-auth-TLSv1.2-request]
- ssl_conf = 21-client-auth-TLSv1.2-request-ssl
- [21-client-auth-TLSv1.2-request-ssl]
- server = 21-client-auth-TLSv1.2-request-server
- client = 21-client-auth-TLSv1.2-request-client
- [21-client-auth-TLSv1.2-request-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.2
- MinProtocol = TLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyMode = Request
- [21-client-auth-TLSv1.2-request-client]
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.2
- MinProtocol = TLSv1.2
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-21]
- ExpectedResult = Success
- # ===========================================================
- [22-client-auth-TLSv1.2-require-fail]
- ssl_conf = 22-client-auth-TLSv1.2-require-fail-ssl
- [22-client-auth-TLSv1.2-require-fail-ssl]
- server = 22-client-auth-TLSv1.2-require-fail-server
- client = 22-client-auth-TLSv1.2-require-fail-client
- [22-client-auth-TLSv1.2-require-fail-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.2
- MinProtocol = TLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Require
- [22-client-auth-TLSv1.2-require-fail-client]
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.2
- MinProtocol = TLSv1.2
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-22]
- ExpectedResult = ServerFail
- ExpectedServerAlert = HandshakeFailure
- # ===========================================================
- [23-client-auth-TLSv1.2-require]
- ssl_conf = 23-client-auth-TLSv1.2-require-ssl
- [23-client-auth-TLSv1.2-require-ssl]
- server = 23-client-auth-TLSv1.2-require-server
- client = 23-client-auth-TLSv1.2-require-client
- [23-client-auth-TLSv1.2-require-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- ClientSignatureAlgorithms = SHA256+RSA
- MaxProtocol = TLSv1.2
- MinProtocol = TLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Request
- [23-client-auth-TLSv1.2-require-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.2
- MinProtocol = TLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-23]
- ExpectedClientCANames = empty
- ExpectedClientCertType = RSA
- ExpectedClientSignHash = SHA256
- ExpectedClientSignType = RSA
- ExpectedResult = Success
- # ===========================================================
- [24-client-auth-TLSv1.2-rsa-pss]
- ssl_conf = 24-client-auth-TLSv1.2-rsa-pss-ssl
- [24-client-auth-TLSv1.2-rsa-pss-ssl]
- server = 24-client-auth-TLSv1.2-rsa-pss-server
- client = 24-client-auth-TLSv1.2-rsa-pss-client
- [24-client-auth-TLSv1.2-rsa-pss-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- ClientCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- MaxProtocol = TLSv1.2
- MinProtocol = TLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Require
- [24-client-auth-TLSv1.2-rsa-pss-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/client-pss-restrict-cert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.2
- MinProtocol = TLSv1.2
- Options = StrictCertCheck
- PrivateKey = ${ENV::TEST_CERTS_DIR}/client-pss-restrict-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-24]
- ExpectedClientCANames = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- ExpectedClientCertType = RSA-PSS
- ExpectedResult = Success
- # ===========================================================
- [25-client-auth-TLSv1.2-rsa-pss-bad]
- ssl_conf = 25-client-auth-TLSv1.2-rsa-pss-bad-ssl
- [25-client-auth-TLSv1.2-rsa-pss-bad-ssl]
- server = 25-client-auth-TLSv1.2-rsa-pss-bad-server
- client = 25-client-auth-TLSv1.2-rsa-pss-bad-client
- [25-client-auth-TLSv1.2-rsa-pss-bad-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- ClientCAFile = ${ENV::TEST_CERTS_DIR}/rootCA.pem
- MaxProtocol = TLSv1.2
- MinProtocol = TLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootCA.pem
- VerifyMode = Require
- [25-client-auth-TLSv1.2-rsa-pss-bad-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/client-pss-restrict-cert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.2
- MinProtocol = TLSv1.2
- Options = StrictCertCheck
- PrivateKey = ${ENV::TEST_CERTS_DIR}/client-pss-restrict-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-25]
- ExpectedResult = ServerFail
- ExpectedServerAlert = HandshakeFailure
- # ===========================================================
- [26-client-auth-TLSv1.2-require-non-empty-names]
- ssl_conf = 26-client-auth-TLSv1.2-require-non-empty-names-ssl
- [26-client-auth-TLSv1.2-require-non-empty-names-ssl]
- server = 26-client-auth-TLSv1.2-require-non-empty-names-server
- client = 26-client-auth-TLSv1.2-require-non-empty-names-client
- [26-client-auth-TLSv1.2-require-non-empty-names-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- ClientCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- ClientSignatureAlgorithms = SHA256+RSA
- MaxProtocol = TLSv1.2
- MinProtocol = TLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Request
- [26-client-auth-TLSv1.2-require-non-empty-names-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.2
- MinProtocol = TLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-26]
- ExpectedClientCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- ExpectedClientCertType = RSA
- ExpectedClientSignHash = SHA256
- ExpectedClientSignType = RSA
- ExpectedResult = Success
- # ===========================================================
- [27-client-auth-TLSv1.2-noroot]
- ssl_conf = 27-client-auth-TLSv1.2-noroot-ssl
- [27-client-auth-TLSv1.2-noroot-ssl]
- server = 27-client-auth-TLSv1.2-noroot-server
- client = 27-client-auth-TLSv1.2-noroot-client
- [27-client-auth-TLSv1.2-noroot-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.2
- MinProtocol = TLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyMode = Require
- [27-client-auth-TLSv1.2-noroot-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = TLSv1.2
- MinProtocol = TLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-27]
- ExpectedResult = ServerFail
- ExpectedServerAlert = UnknownCA
- # ===========================================================
- [28-server-auth-DTLSv1]
- ssl_conf = 28-server-auth-DTLSv1-ssl
- [28-server-auth-DTLSv1-ssl]
- server = 28-server-auth-DTLSv1-server
- client = 28-server-auth-DTLSv1-client
- [28-server-auth-DTLSv1-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1
- MinProtocol = DTLSv1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [28-server-auth-DTLSv1-client]
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1
- MinProtocol = DTLSv1
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-28]
- ExpectedResult = Success
- Method = DTLS
- # ===========================================================
- [29-client-auth-DTLSv1-request]
- ssl_conf = 29-client-auth-DTLSv1-request-ssl
- [29-client-auth-DTLSv1-request-ssl]
- server = 29-client-auth-DTLSv1-request-server
- client = 29-client-auth-DTLSv1-request-client
- [29-client-auth-DTLSv1-request-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1
- MinProtocol = DTLSv1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyMode = Request
- [29-client-auth-DTLSv1-request-client]
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1
- MinProtocol = DTLSv1
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-29]
- ExpectedResult = Success
- Method = DTLS
- # ===========================================================
- [30-client-auth-DTLSv1-require-fail]
- ssl_conf = 30-client-auth-DTLSv1-require-fail-ssl
- [30-client-auth-DTLSv1-require-fail-ssl]
- server = 30-client-auth-DTLSv1-require-fail-server
- client = 30-client-auth-DTLSv1-require-fail-client
- [30-client-auth-DTLSv1-require-fail-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1
- MinProtocol = DTLSv1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Require
- [30-client-auth-DTLSv1-require-fail-client]
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1
- MinProtocol = DTLSv1
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-30]
- ExpectedResult = ServerFail
- ExpectedServerAlert = HandshakeFailure
- Method = DTLS
- # ===========================================================
- [31-client-auth-DTLSv1-require]
- ssl_conf = 31-client-auth-DTLSv1-require-ssl
- [31-client-auth-DTLSv1-require-ssl]
- server = 31-client-auth-DTLSv1-require-server
- client = 31-client-auth-DTLSv1-require-client
- [31-client-auth-DTLSv1-require-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1
- MinProtocol = DTLSv1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Request
- [31-client-auth-DTLSv1-require-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1
- MinProtocol = DTLSv1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-31]
- ExpectedClientCANames = empty
- ExpectedClientCertType = RSA
- ExpectedResult = Success
- Method = DTLS
- # ===========================================================
- [32-client-auth-DTLSv1-require-non-empty-names]
- ssl_conf = 32-client-auth-DTLSv1-require-non-empty-names-ssl
- [32-client-auth-DTLSv1-require-non-empty-names-ssl]
- server = 32-client-auth-DTLSv1-require-non-empty-names-server
- client = 32-client-auth-DTLSv1-require-non-empty-names-client
- [32-client-auth-DTLSv1-require-non-empty-names-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- ClientCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- MaxProtocol = DTLSv1
- MinProtocol = DTLSv1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Request
- [32-client-auth-DTLSv1-require-non-empty-names-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1
- MinProtocol = DTLSv1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-32]
- ExpectedClientCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- ExpectedClientCertType = RSA
- ExpectedResult = Success
- Method = DTLS
- # ===========================================================
- [33-client-auth-DTLSv1-noroot]
- ssl_conf = 33-client-auth-DTLSv1-noroot-ssl
- [33-client-auth-DTLSv1-noroot-ssl]
- server = 33-client-auth-DTLSv1-noroot-server
- client = 33-client-auth-DTLSv1-noroot-client
- [33-client-auth-DTLSv1-noroot-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1
- MinProtocol = DTLSv1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyMode = Require
- [33-client-auth-DTLSv1-noroot-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1
- MinProtocol = DTLSv1
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-33]
- ExpectedResult = ServerFail
- ExpectedServerAlert = UnknownCA
- Method = DTLS
- # ===========================================================
- [34-server-auth-DTLSv1.2]
- ssl_conf = 34-server-auth-DTLSv1.2-ssl
- [34-server-auth-DTLSv1.2-ssl]
- server = 34-server-auth-DTLSv1.2-server
- client = 34-server-auth-DTLSv1.2-client
- [34-server-auth-DTLSv1.2-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1.2
- MinProtocol = DTLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- [34-server-auth-DTLSv1.2-client]
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1.2
- MinProtocol = DTLSv1.2
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-34]
- ExpectedResult = Success
- Method = DTLS
- # ===========================================================
- [35-client-auth-DTLSv1.2-request]
- ssl_conf = 35-client-auth-DTLSv1.2-request-ssl
- [35-client-auth-DTLSv1.2-request-ssl]
- server = 35-client-auth-DTLSv1.2-request-server
- client = 35-client-auth-DTLSv1.2-request-client
- [35-client-auth-DTLSv1.2-request-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1.2
- MinProtocol = DTLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyMode = Request
- [35-client-auth-DTLSv1.2-request-client]
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1.2
- MinProtocol = DTLSv1.2
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-35]
- ExpectedResult = Success
- Method = DTLS
- # ===========================================================
- [36-client-auth-DTLSv1.2-require-fail]
- ssl_conf = 36-client-auth-DTLSv1.2-require-fail-ssl
- [36-client-auth-DTLSv1.2-require-fail-ssl]
- server = 36-client-auth-DTLSv1.2-require-fail-server
- client = 36-client-auth-DTLSv1.2-require-fail-client
- [36-client-auth-DTLSv1.2-require-fail-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1.2
- MinProtocol = DTLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Require
- [36-client-auth-DTLSv1.2-require-fail-client]
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1.2
- MinProtocol = DTLSv1.2
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-36]
- ExpectedResult = ServerFail
- ExpectedServerAlert = HandshakeFailure
- Method = DTLS
- # ===========================================================
- [37-client-auth-DTLSv1.2-require]
- ssl_conf = 37-client-auth-DTLSv1.2-require-ssl
- [37-client-auth-DTLSv1.2-require-ssl]
- server = 37-client-auth-DTLSv1.2-require-server
- client = 37-client-auth-DTLSv1.2-require-client
- [37-client-auth-DTLSv1.2-require-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1.2
- MinProtocol = DTLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Request
- [37-client-auth-DTLSv1.2-require-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1.2
- MinProtocol = DTLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-37]
- ExpectedClientCANames = empty
- ExpectedClientCertType = RSA
- ExpectedResult = Success
- Method = DTLS
- # ===========================================================
- [38-client-auth-DTLSv1.2-require-non-empty-names]
- ssl_conf = 38-client-auth-DTLSv1.2-require-non-empty-names-ssl
- [38-client-auth-DTLSv1.2-require-non-empty-names-ssl]
- server = 38-client-auth-DTLSv1.2-require-non-empty-names-server
- client = 38-client-auth-DTLSv1.2-require-non-empty-names-client
- [38-client-auth-DTLSv1.2-require-non-empty-names-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- ClientCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- MaxProtocol = DTLSv1.2
- MinProtocol = DTLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- VerifyMode = Request
- [38-client-auth-DTLSv1.2-require-non-empty-names-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1.2
- MinProtocol = DTLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-38]
- ExpectedClientCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
- ExpectedClientCertType = RSA
- ExpectedResult = Success
- Method = DTLS
- # ===========================================================
- [39-client-auth-DTLSv1.2-noroot]
- ssl_conf = 39-client-auth-DTLSv1.2-noroot-ssl
- [39-client-auth-DTLSv1.2-noroot-ssl]
- server = 39-client-auth-DTLSv1.2-noroot-server
- client = 39-client-auth-DTLSv1.2-noroot-client
- [39-client-auth-DTLSv1.2-noroot-server]
- Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1.2
- MinProtocol = DTLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
- VerifyMode = Require
- [39-client-auth-DTLSv1.2-noroot-client]
- Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
- CipherString = DEFAULT:@SECLEVEL=0
- MaxProtocol = DTLSv1.2
- MinProtocol = DTLSv1.2
- PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
- VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
- VerifyMode = Peer
- [test-39]
- ExpectedResult = ServerFail
- ExpectedServerAlert = UnknownCA
- Method = DTLS
|