2016-05-31 14:42:58 +00:00
|
|
|
# Generated with generate_ssl_tests.pl
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
num_tests = 36
|
2016-05-31 14:42:58 +00:00
|
|
|
|
|
|
|
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
|
2017-03-15 17:26:05 +00:00
|
|
|
test-4 = 4-client-auth-flex-require-non-empty-names
|
|
|
|
test-5 = 5-client-auth-flex-noroot
|
|
|
|
test-6 = 6-server-auth-TLSv1
|
|
|
|
test-7 = 7-client-auth-TLSv1-request
|
|
|
|
test-8 = 8-client-auth-TLSv1-require-fail
|
|
|
|
test-9 = 9-client-auth-TLSv1-require
|
|
|
|
test-10 = 10-client-auth-TLSv1-require-non-empty-names
|
|
|
|
test-11 = 11-client-auth-TLSv1-noroot
|
|
|
|
test-12 = 12-server-auth-TLSv1.1
|
|
|
|
test-13 = 13-client-auth-TLSv1.1-request
|
|
|
|
test-14 = 14-client-auth-TLSv1.1-require-fail
|
|
|
|
test-15 = 15-client-auth-TLSv1.1-require
|
|
|
|
test-16 = 16-client-auth-TLSv1.1-require-non-empty-names
|
|
|
|
test-17 = 17-client-auth-TLSv1.1-noroot
|
|
|
|
test-18 = 18-server-auth-TLSv1.2
|
|
|
|
test-19 = 19-client-auth-TLSv1.2-request
|
|
|
|
test-20 = 20-client-auth-TLSv1.2-require-fail
|
|
|
|
test-21 = 21-client-auth-TLSv1.2-require
|
|
|
|
test-22 = 22-client-auth-TLSv1.2-require-non-empty-names
|
|
|
|
test-23 = 23-client-auth-TLSv1.2-noroot
|
|
|
|
test-24 = 24-server-auth-DTLSv1
|
|
|
|
test-25 = 25-client-auth-DTLSv1-request
|
|
|
|
test-26 = 26-client-auth-DTLSv1-require-fail
|
|
|
|
test-27 = 27-client-auth-DTLSv1-require
|
|
|
|
test-28 = 28-client-auth-DTLSv1-require-non-empty-names
|
|
|
|
test-29 = 29-client-auth-DTLSv1-noroot
|
|
|
|
test-30 = 30-server-auth-DTLSv1.2
|
|
|
|
test-31 = 31-client-auth-DTLSv1.2-request
|
|
|
|
test-32 = 32-client-auth-DTLSv1.2-require-fail
|
|
|
|
test-33 = 33-client-auth-DTLSv1.2-require
|
|
|
|
test-34 = 34-client-auth-DTLSv1.2-require-non-empty-names
|
|
|
|
test-35 = 35-client-auth-DTLSv1.2-noroot
|
2016-05-31 14:42:58 +00:00
|
|
|
# ===========================================================
|
|
|
|
|
|
|
|
[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
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
|
|
|
|
[0-server-auth-flex-client]
|
|
|
|
CipherString = DEFAULT
|
|
|
|
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
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyMode = Request
|
|
|
|
|
|
|
|
[1-client-auth-flex-request-client]
|
|
|
|
CipherString = DEFAULT
|
|
|
|
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
|
|
|
|
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
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
|
|
|
[test-2]
|
|
|
|
ExpectedResult = ServerFail
|
2016-07-21 14:29:48 +00:00
|
|
|
ExpectedServerAlert = HandshakeFailure
|
2016-05-31 14:42:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
|
|
|
[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
|
|
|
|
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
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
|
|
|
[test-3]
|
2017-03-15 17:26:05 +00:00
|
|
|
ExpectedClientCANames = empty
|
2017-01-13 17:41:48 +00:00
|
|
|
ExpectedClientCertType = RSA
|
2016-05-31 14:42:58 +00:00
|
|
|
ExpectedResult = Success
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[4-client-auth-flex-require-non-empty-names]
|
|
|
|
ssl_conf = 4-client-auth-flex-require-non-empty-names-ssl
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[4-client-auth-flex-require-non-empty-names-ssl]
|
|
|
|
server = 4-client-auth-flex-require-non-empty-names-server
|
|
|
|
client = 4-client-auth-flex-require-non-empty-names-client
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[4-client-auth-flex-require-non-empty-names-server]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
2017-03-15 17:26:05 +00:00
|
|
|
ClientCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
2017-03-15 17:26:05 +00:00
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
|
|
|
VerifyMode = Request
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[4-client-auth-flex-require-non-empty-names-client]
|
2016-05-31 14:42:58 +00:00
|
|
|
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]
|
2017-03-15 17:26:05 +00:00
|
|
|
ExpectedClientCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
|
|
|
ExpectedClientCertType = RSA
|
|
|
|
ExpectedResult = Success
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
|
|
|
[5-client-auth-flex-noroot]
|
|
|
|
ssl_conf = 5-client-auth-flex-noroot-ssl
|
|
|
|
|
|
|
|
[5-client-auth-flex-noroot-ssl]
|
|
|
|
server = 5-client-auth-flex-noroot-server
|
|
|
|
client = 5-client-auth-flex-noroot-client
|
|
|
|
|
|
|
|
[5-client-auth-flex-noroot-server]
|
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyMode = Require
|
|
|
|
|
|
|
|
[5-client-auth-flex-noroot-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]
|
2016-05-31 14:42:58 +00:00
|
|
|
ExpectedResult = ServerFail
|
2016-07-21 14:29:48 +00:00
|
|
|
ExpectedServerAlert = UnknownCA
|
2016-05-31 14:42:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[6-server-auth-TLSv1]
|
|
|
|
ssl_conf = 6-server-auth-TLSv1-ssl
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[6-server-auth-TLSv1-ssl]
|
|
|
|
server = 6-server-auth-TLSv1-server
|
|
|
|
client = 6-server-auth-TLSv1-client
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[6-server-auth-TLSv1-server]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1
|
|
|
|
MinProtocol = TLSv1
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[6-server-auth-TLSv1-client]
|
2016-05-31 14:42:58 +00:00
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1
|
|
|
|
MinProtocol = TLSv1
|
2016-05-31 14:42:58 +00:00
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-6]
|
2016-05-31 14:42:58 +00:00
|
|
|
ExpectedResult = Success
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[7-client-auth-TLSv1-request]
|
|
|
|
ssl_conf = 7-client-auth-TLSv1-request-ssl
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[7-client-auth-TLSv1-request-ssl]
|
|
|
|
server = 7-client-auth-TLSv1-request-server
|
|
|
|
client = 7-client-auth-TLSv1-request-client
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[7-client-auth-TLSv1-request-server]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1
|
|
|
|
MinProtocol = TLSv1
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyMode = Request
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[7-client-auth-TLSv1-request-client]
|
2016-05-31 14:42:58 +00:00
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1
|
|
|
|
MinProtocol = TLSv1
|
2016-05-31 14:42:58 +00:00
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-7]
|
2016-05-31 14:42:58 +00:00
|
|
|
ExpectedResult = Success
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[8-client-auth-TLSv1-require-fail]
|
|
|
|
ssl_conf = 8-client-auth-TLSv1-require-fail-ssl
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[8-client-auth-TLSv1-require-fail-ssl]
|
|
|
|
server = 8-client-auth-TLSv1-require-fail-server
|
|
|
|
client = 8-client-auth-TLSv1-require-fail-client
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[8-client-auth-TLSv1-require-fail-server]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1
|
|
|
|
MinProtocol = TLSv1
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
|
|
|
VerifyMode = Require
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[8-client-auth-TLSv1-require-fail-client]
|
2016-05-31 14:42:58 +00:00
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1
|
|
|
|
MinProtocol = TLSv1
|
2016-05-31 14:42:58 +00:00
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-8]
|
2016-05-31 14:42:58 +00:00
|
|
|
ExpectedResult = ServerFail
|
2016-07-21 14:29:48 +00:00
|
|
|
ExpectedServerAlert = HandshakeFailure
|
2016-05-31 14:42:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[9-client-auth-TLSv1-require]
|
|
|
|
ssl_conf = 9-client-auth-TLSv1-require-ssl
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[9-client-auth-TLSv1-require-ssl]
|
|
|
|
server = 9-client-auth-TLSv1-require-server
|
|
|
|
client = 9-client-auth-TLSv1-require-client
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[9-client-auth-TLSv1-require-server]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1
|
|
|
|
MinProtocol = TLSv1
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
|
|
|
VerifyMode = Request
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[9-client-auth-TLSv1-require-client]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1
|
|
|
|
MinProtocol = TLSv1
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-9]
|
|
|
|
ExpectedClientCANames = empty
|
2017-01-13 17:41:48 +00:00
|
|
|
ExpectedClientCertType = RSA
|
2016-05-31 14:42:58 +00:00
|
|
|
ExpectedResult = Success
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[10-client-auth-TLSv1-require-non-empty-names]
|
|
|
|
ssl_conf = 10-client-auth-TLSv1-require-non-empty-names-ssl
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[10-client-auth-TLSv1-require-non-empty-names-ssl]
|
|
|
|
server = 10-client-auth-TLSv1-require-non-empty-names-server
|
|
|
|
client = 10-client-auth-TLSv1-require-non-empty-names-client
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[10-client-auth-TLSv1-require-non-empty-names-server]
|
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
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
|
|
|
|
|
|
|
|
[10-client-auth-TLSv1-require-non-empty-names-client]
|
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = TLSv1
|
|
|
|
MinProtocol = TLSv1
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
|
|
|
[test-10]
|
|
|
|
ExpectedClientCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
|
|
|
ExpectedClientCertType = RSA
|
|
|
|
ExpectedResult = Success
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
|
|
|
[11-client-auth-TLSv1-noroot]
|
|
|
|
ssl_conf = 11-client-auth-TLSv1-noroot-ssl
|
|
|
|
|
|
|
|
[11-client-auth-TLSv1-noroot-ssl]
|
|
|
|
server = 11-client-auth-TLSv1-noroot-server
|
|
|
|
client = 11-client-auth-TLSv1-noroot-client
|
|
|
|
|
|
|
|
[11-client-auth-TLSv1-noroot-server]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1
|
|
|
|
MinProtocol = TLSv1
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyMode = Require
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[11-client-auth-TLSv1-noroot-client]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1
|
|
|
|
MinProtocol = TLSv1
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-11]
|
2016-05-31 14:42:58 +00:00
|
|
|
ExpectedResult = ServerFail
|
2016-07-21 14:29:48 +00:00
|
|
|
ExpectedServerAlert = UnknownCA
|
2016-05-31 14:42:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[12-server-auth-TLSv1.1]
|
|
|
|
ssl_conf = 12-server-auth-TLSv1.1-ssl
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[12-server-auth-TLSv1.1-ssl]
|
|
|
|
server = 12-server-auth-TLSv1.1-server
|
|
|
|
client = 12-server-auth-TLSv1.1-client
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[12-server-auth-TLSv1.1-server]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.1
|
|
|
|
MinProtocol = TLSv1.1
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[12-server-auth-TLSv1.1-client]
|
2016-05-31 14:42:58 +00:00
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.1
|
|
|
|
MinProtocol = TLSv1.1
|
2016-05-31 14:42:58 +00:00
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-12]
|
2016-05-31 14:42:58 +00:00
|
|
|
ExpectedResult = Success
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[13-client-auth-TLSv1.1-request]
|
|
|
|
ssl_conf = 13-client-auth-TLSv1.1-request-ssl
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[13-client-auth-TLSv1.1-request-ssl]
|
|
|
|
server = 13-client-auth-TLSv1.1-request-server
|
|
|
|
client = 13-client-auth-TLSv1.1-request-client
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[13-client-auth-TLSv1.1-request-server]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.1
|
|
|
|
MinProtocol = TLSv1.1
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyMode = Request
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[13-client-auth-TLSv1.1-request-client]
|
2016-05-31 14:42:58 +00:00
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.1
|
|
|
|
MinProtocol = TLSv1.1
|
2016-05-31 14:42:58 +00:00
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-13]
|
2016-05-31 14:42:58 +00:00
|
|
|
ExpectedResult = Success
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[14-client-auth-TLSv1.1-require-fail]
|
|
|
|
ssl_conf = 14-client-auth-TLSv1.1-require-fail-ssl
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[14-client-auth-TLSv1.1-require-fail-ssl]
|
|
|
|
server = 14-client-auth-TLSv1.1-require-fail-server
|
|
|
|
client = 14-client-auth-TLSv1.1-require-fail-client
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[14-client-auth-TLSv1.1-require-fail-server]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.1
|
|
|
|
MinProtocol = TLSv1.1
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
|
|
|
VerifyMode = Require
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[14-client-auth-TLSv1.1-require-fail-client]
|
2016-05-31 14:42:58 +00:00
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.1
|
|
|
|
MinProtocol = TLSv1.1
|
2016-05-31 14:42:58 +00:00
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-14]
|
2016-05-31 14:42:58 +00:00
|
|
|
ExpectedResult = ServerFail
|
2016-07-21 14:29:48 +00:00
|
|
|
ExpectedServerAlert = HandshakeFailure
|
2016-05-31 14:42:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[15-client-auth-TLSv1.1-require]
|
|
|
|
ssl_conf = 15-client-auth-TLSv1.1-require-ssl
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[15-client-auth-TLSv1.1-require-ssl]
|
|
|
|
server = 15-client-auth-TLSv1.1-require-server
|
|
|
|
client = 15-client-auth-TLSv1.1-require-client
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[15-client-auth-TLSv1.1-require-server]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.1
|
|
|
|
MinProtocol = TLSv1.1
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
|
|
|
VerifyMode = Request
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[15-client-auth-TLSv1.1-require-client]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.1
|
|
|
|
MinProtocol = TLSv1.1
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-15]
|
|
|
|
ExpectedClientCANames = empty
|
2017-01-13 17:41:48 +00:00
|
|
|
ExpectedClientCertType = RSA
|
2016-05-31 14:42:58 +00:00
|
|
|
ExpectedResult = Success
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[16-client-auth-TLSv1.1-require-non-empty-names]
|
|
|
|
ssl_conf = 16-client-auth-TLSv1.1-require-non-empty-names-ssl
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[16-client-auth-TLSv1.1-require-non-empty-names-ssl]
|
|
|
|
server = 16-client-auth-TLSv1.1-require-non-empty-names-server
|
|
|
|
client = 16-client-auth-TLSv1.1-require-non-empty-names-client
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[16-client-auth-TLSv1.1-require-non-empty-names-server]
|
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
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
|
|
|
|
|
|
|
|
[16-client-auth-TLSv1.1-require-non-empty-names-client]
|
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = TLSv1.1
|
|
|
|
MinProtocol = TLSv1.1
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
|
|
|
[test-16]
|
|
|
|
ExpectedClientCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
|
|
|
ExpectedClientCertType = RSA
|
|
|
|
ExpectedResult = Success
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
|
|
|
[17-client-auth-TLSv1.1-noroot]
|
|
|
|
ssl_conf = 17-client-auth-TLSv1.1-noroot-ssl
|
|
|
|
|
|
|
|
[17-client-auth-TLSv1.1-noroot-ssl]
|
|
|
|
server = 17-client-auth-TLSv1.1-noroot-server
|
|
|
|
client = 17-client-auth-TLSv1.1-noroot-client
|
|
|
|
|
|
|
|
[17-client-auth-TLSv1.1-noroot-server]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.1
|
|
|
|
MinProtocol = TLSv1.1
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyMode = Require
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[17-client-auth-TLSv1.1-noroot-client]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.1
|
|
|
|
MinProtocol = TLSv1.1
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-17]
|
2016-05-31 14:42:58 +00:00
|
|
|
ExpectedResult = ServerFail
|
2016-07-21 14:29:48 +00:00
|
|
|
ExpectedServerAlert = UnknownCA
|
2016-05-31 14:42:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[18-server-auth-TLSv1.2]
|
|
|
|
ssl_conf = 18-server-auth-TLSv1.2-ssl
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[18-server-auth-TLSv1.2-ssl]
|
|
|
|
server = 18-server-auth-TLSv1.2-server
|
|
|
|
client = 18-server-auth-TLSv1.2-client
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[18-server-auth-TLSv1.2-server]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.2
|
|
|
|
MinProtocol = TLSv1.2
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[18-server-auth-TLSv1.2-client]
|
2016-05-31 14:42:58 +00:00
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.2
|
|
|
|
MinProtocol = TLSv1.2
|
2016-05-31 14:42:58 +00:00
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-18]
|
2016-05-31 14:42:58 +00:00
|
|
|
ExpectedResult = Success
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[19-client-auth-TLSv1.2-request]
|
|
|
|
ssl_conf = 19-client-auth-TLSv1.2-request-ssl
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[19-client-auth-TLSv1.2-request-ssl]
|
|
|
|
server = 19-client-auth-TLSv1.2-request-server
|
|
|
|
client = 19-client-auth-TLSv1.2-request-client
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[19-client-auth-TLSv1.2-request-server]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.2
|
|
|
|
MinProtocol = TLSv1.2
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyMode = Request
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[19-client-auth-TLSv1.2-request-client]
|
2016-05-31 14:42:58 +00:00
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.2
|
|
|
|
MinProtocol = TLSv1.2
|
2016-05-31 14:42:58 +00:00
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-19]
|
2016-05-31 14:42:58 +00:00
|
|
|
ExpectedResult = Success
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[20-client-auth-TLSv1.2-require-fail]
|
|
|
|
ssl_conf = 20-client-auth-TLSv1.2-require-fail-ssl
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[20-client-auth-TLSv1.2-require-fail-ssl]
|
|
|
|
server = 20-client-auth-TLSv1.2-require-fail-server
|
|
|
|
client = 20-client-auth-TLSv1.2-require-fail-client
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[20-client-auth-TLSv1.2-require-fail-server]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.2
|
|
|
|
MinProtocol = TLSv1.2
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
|
|
|
VerifyMode = Require
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[20-client-auth-TLSv1.2-require-fail-client]
|
2016-05-31 14:42:58 +00:00
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.2
|
|
|
|
MinProtocol = TLSv1.2
|
2016-05-31 14:42:58 +00:00
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-20]
|
2016-05-31 14:42:58 +00:00
|
|
|
ExpectedResult = ServerFail
|
2016-07-21 14:29:48 +00:00
|
|
|
ExpectedServerAlert = HandshakeFailure
|
2016-05-31 14:42:58 +00:00
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[21-client-auth-TLSv1.2-require]
|
|
|
|
ssl_conf = 21-client-auth-TLSv1.2-require-ssl
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[21-client-auth-TLSv1.2-require-ssl]
|
|
|
|
server = 21-client-auth-TLSv1.2-require-server
|
|
|
|
client = 21-client-auth-TLSv1.2-require-client
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[21-client-auth-TLSv1.2-require-server]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
2017-01-15 15:59:48 +00:00
|
|
|
ClientSignatureAlgorithms = SHA256+RSA
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.2
|
|
|
|
MinProtocol = TLSv1.2
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
|
|
|
VerifyMode = Request
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[21-client-auth-TLSv1.2-require-client]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.2
|
|
|
|
MinProtocol = TLSv1.2
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-21]
|
|
|
|
ExpectedClientCANames = empty
|
2017-01-13 17:41:48 +00:00
|
|
|
ExpectedClientCertType = RSA
|
2017-01-15 15:59:48 +00:00
|
|
|
ExpectedClientSignHash = SHA256
|
2017-01-27 15:56:47 +00:00
|
|
|
ExpectedClientSignType = RSA
|
2016-05-31 14:42:58 +00:00
|
|
|
ExpectedResult = Success
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[22-client-auth-TLSv1.2-require-non-empty-names]
|
|
|
|
ssl_conf = 22-client-auth-TLSv1.2-require-non-empty-names-ssl
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[22-client-auth-TLSv1.2-require-non-empty-names-ssl]
|
|
|
|
server = 22-client-auth-TLSv1.2-require-non-empty-names-server
|
|
|
|
client = 22-client-auth-TLSv1.2-require-non-empty-names-client
|
2016-05-31 14:42:58 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[22-client-auth-TLSv1.2-require-non-empty-names-server]
|
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
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
|
|
|
|
|
|
|
|
[22-client-auth-TLSv1.2-require-non-empty-names-client]
|
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = TLSv1.2
|
|
|
|
MinProtocol = TLSv1.2
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
|
|
|
[test-22]
|
|
|
|
ExpectedClientCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
|
|
|
ExpectedClientCertType = RSA
|
|
|
|
ExpectedClientSignHash = SHA256
|
|
|
|
ExpectedClientSignType = RSA
|
|
|
|
ExpectedResult = Success
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
|
|
|
[23-client-auth-TLSv1.2-noroot]
|
|
|
|
ssl_conf = 23-client-auth-TLSv1.2-noroot-ssl
|
|
|
|
|
|
|
|
[23-client-auth-TLSv1.2-noroot-ssl]
|
|
|
|
server = 23-client-auth-TLSv1.2-noroot-server
|
|
|
|
client = 23-client-auth-TLSv1.2-noroot-client
|
|
|
|
|
|
|
|
[23-client-auth-TLSv1.2-noroot-server]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.2
|
|
|
|
MinProtocol = TLSv1.2
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyMode = Require
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[23-client-auth-TLSv1.2-noroot-client]
|
2016-05-31 14:42:58 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
|
|
|
|
CipherString = DEFAULT
|
2016-06-22 15:34:26 +00:00
|
|
|
MaxProtocol = TLSv1.2
|
|
|
|
MinProtocol = TLSv1.2
|
2016-05-31 14:42:58 +00:00
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-23]
|
2016-05-31 14:42:58 +00:00
|
|
|
ExpectedResult = ServerFail
|
2016-07-21 14:29:48 +00:00
|
|
|
ExpectedServerAlert = UnknownCA
|
2016-05-31 14:42:58 +00:00
|
|
|
|
|
|
|
|
2017-03-14 13:56:22 +00:00
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[24-server-auth-DTLSv1]
|
|
|
|
ssl_conf = 24-server-auth-DTLSv1-ssl
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[24-server-auth-DTLSv1-ssl]
|
|
|
|
server = 24-server-auth-DTLSv1-server
|
|
|
|
client = 24-server-auth-DTLSv1-client
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[24-server-auth-DTLSv1-server]
|
2017-03-14 13:56:22 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1
|
|
|
|
MinProtocol = DTLSv1
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[24-server-auth-DTLSv1-client]
|
2017-03-14 13:56:22 +00:00
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1
|
|
|
|
MinProtocol = DTLSv1
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-24]
|
2017-03-14 13:56:22 +00:00
|
|
|
ExpectedResult = Success
|
|
|
|
Method = DTLS
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[25-client-auth-DTLSv1-request]
|
|
|
|
ssl_conf = 25-client-auth-DTLSv1-request-ssl
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[25-client-auth-DTLSv1-request-ssl]
|
|
|
|
server = 25-client-auth-DTLSv1-request-server
|
|
|
|
client = 25-client-auth-DTLSv1-request-client
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[25-client-auth-DTLSv1-request-server]
|
2017-03-14 13:56:22 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1
|
|
|
|
MinProtocol = DTLSv1
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyMode = Request
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[25-client-auth-DTLSv1-request-client]
|
2017-03-14 13:56:22 +00:00
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1
|
|
|
|
MinProtocol = DTLSv1
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-25]
|
2017-03-14 13:56:22 +00:00
|
|
|
ExpectedResult = Success
|
|
|
|
Method = DTLS
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[26-client-auth-DTLSv1-require-fail]
|
|
|
|
ssl_conf = 26-client-auth-DTLSv1-require-fail-ssl
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[26-client-auth-DTLSv1-require-fail-ssl]
|
|
|
|
server = 26-client-auth-DTLSv1-require-fail-server
|
|
|
|
client = 26-client-auth-DTLSv1-require-fail-client
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[26-client-auth-DTLSv1-require-fail-server]
|
2017-03-14 13:56:22 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1
|
|
|
|
MinProtocol = DTLSv1
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
|
|
|
VerifyMode = Require
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[26-client-auth-DTLSv1-require-fail-client]
|
2017-03-14 13:56:22 +00:00
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1
|
|
|
|
MinProtocol = DTLSv1
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-26]
|
2017-03-14 13:56:22 +00:00
|
|
|
ExpectedResult = ServerFail
|
|
|
|
ExpectedServerAlert = HandshakeFailure
|
|
|
|
Method = DTLS
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[27-client-auth-DTLSv1-require]
|
|
|
|
ssl_conf = 27-client-auth-DTLSv1-require-ssl
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[27-client-auth-DTLSv1-require-ssl]
|
|
|
|
server = 27-client-auth-DTLSv1-require-server
|
|
|
|
client = 27-client-auth-DTLSv1-require-client
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[27-client-auth-DTLSv1-require-server]
|
2017-03-14 13:56:22 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1
|
|
|
|
MinProtocol = DTLSv1
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
|
|
|
VerifyMode = Request
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[27-client-auth-DTLSv1-require-client]
|
2017-03-14 13:56:22 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1
|
|
|
|
MinProtocol = DTLSv1
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-27]
|
|
|
|
ExpectedClientCANames = empty
|
|
|
|
ExpectedClientCertType = RSA
|
|
|
|
ExpectedResult = Success
|
|
|
|
Method = DTLS
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
|
|
|
[28-client-auth-DTLSv1-require-non-empty-names]
|
|
|
|
ssl_conf = 28-client-auth-DTLSv1-require-non-empty-names-ssl
|
|
|
|
|
|
|
|
[28-client-auth-DTLSv1-require-non-empty-names-ssl]
|
|
|
|
server = 28-client-auth-DTLSv1-require-non-empty-names-server
|
|
|
|
client = 28-client-auth-DTLSv1-require-non-empty-names-client
|
|
|
|
|
|
|
|
[28-client-auth-DTLSv1-require-non-empty-names-server]
|
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
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
|
|
|
|
|
|
|
|
[28-client-auth-DTLSv1-require-non-empty-names-client]
|
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1
|
|
|
|
MinProtocol = DTLSv1
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
|
|
|
[test-28]
|
|
|
|
ExpectedClientCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
2017-03-14 13:56:22 +00:00
|
|
|
ExpectedClientCertType = RSA
|
|
|
|
ExpectedResult = Success
|
|
|
|
Method = DTLS
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[29-client-auth-DTLSv1-noroot]
|
|
|
|
ssl_conf = 29-client-auth-DTLSv1-noroot-ssl
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[29-client-auth-DTLSv1-noroot-ssl]
|
|
|
|
server = 29-client-auth-DTLSv1-noroot-server
|
|
|
|
client = 29-client-auth-DTLSv1-noroot-client
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[29-client-auth-DTLSv1-noroot-server]
|
2017-03-14 13:56:22 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1
|
|
|
|
MinProtocol = DTLSv1
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyMode = Require
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[29-client-auth-DTLSv1-noroot-client]
|
2017-03-14 13:56:22 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1
|
|
|
|
MinProtocol = DTLSv1
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-29]
|
2017-03-14 13:56:22 +00:00
|
|
|
ExpectedResult = ServerFail
|
|
|
|
ExpectedServerAlert = UnknownCA
|
|
|
|
Method = DTLS
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[30-server-auth-DTLSv1.2]
|
|
|
|
ssl_conf = 30-server-auth-DTLSv1.2-ssl
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[30-server-auth-DTLSv1.2-ssl]
|
|
|
|
server = 30-server-auth-DTLSv1.2-server
|
|
|
|
client = 30-server-auth-DTLSv1.2-client
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[30-server-auth-DTLSv1.2-server]
|
2017-03-14 13:56:22 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1.2
|
|
|
|
MinProtocol = DTLSv1.2
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[30-server-auth-DTLSv1.2-client]
|
2017-03-14 13:56:22 +00:00
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1.2
|
|
|
|
MinProtocol = DTLSv1.2
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-30]
|
2017-03-14 13:56:22 +00:00
|
|
|
ExpectedResult = Success
|
|
|
|
Method = DTLS
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[31-client-auth-DTLSv1.2-request]
|
|
|
|
ssl_conf = 31-client-auth-DTLSv1.2-request-ssl
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[31-client-auth-DTLSv1.2-request-ssl]
|
|
|
|
server = 31-client-auth-DTLSv1.2-request-server
|
|
|
|
client = 31-client-auth-DTLSv1.2-request-client
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[31-client-auth-DTLSv1.2-request-server]
|
2017-03-14 13:56:22 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1.2
|
|
|
|
MinProtocol = DTLSv1.2
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyMode = Request
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[31-client-auth-DTLSv1.2-request-client]
|
2017-03-14 13:56:22 +00:00
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1.2
|
|
|
|
MinProtocol = DTLSv1.2
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-31]
|
2017-03-14 13:56:22 +00:00
|
|
|
ExpectedResult = Success
|
|
|
|
Method = DTLS
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[32-client-auth-DTLSv1.2-require-fail]
|
|
|
|
ssl_conf = 32-client-auth-DTLSv1.2-require-fail-ssl
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[32-client-auth-DTLSv1.2-require-fail-ssl]
|
|
|
|
server = 32-client-auth-DTLSv1.2-require-fail-server
|
|
|
|
client = 32-client-auth-DTLSv1.2-require-fail-client
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[32-client-auth-DTLSv1.2-require-fail-server]
|
2017-03-14 13:56:22 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1.2
|
|
|
|
MinProtocol = DTLSv1.2
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
|
|
|
VerifyMode = Require
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[32-client-auth-DTLSv1.2-require-fail-client]
|
2017-03-14 13:56:22 +00:00
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1.2
|
|
|
|
MinProtocol = DTLSv1.2
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-32]
|
2017-03-14 13:56:22 +00:00
|
|
|
ExpectedResult = ServerFail
|
|
|
|
ExpectedServerAlert = HandshakeFailure
|
|
|
|
Method = DTLS
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[33-client-auth-DTLSv1.2-require]
|
|
|
|
ssl_conf = 33-client-auth-DTLSv1.2-require-ssl
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[33-client-auth-DTLSv1.2-require-ssl]
|
|
|
|
server = 33-client-auth-DTLSv1.2-require-server
|
|
|
|
client = 33-client-auth-DTLSv1.2-require-client
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[33-client-auth-DTLSv1.2-require-server]
|
2017-03-14 13:56:22 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1.2
|
|
|
|
MinProtocol = DTLSv1.2
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
|
|
|
VerifyMode = Request
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[33-client-auth-DTLSv1.2-require-client]
|
2017-03-14 13:56:22 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1.2
|
|
|
|
MinProtocol = DTLSv1.2
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-33]
|
|
|
|
ExpectedClientCANames = empty
|
2017-03-14 13:56:22 +00:00
|
|
|
ExpectedClientCertType = RSA
|
|
|
|
ExpectedResult = Success
|
|
|
|
Method = DTLS
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[34-client-auth-DTLSv1.2-require-non-empty-names]
|
|
|
|
ssl_conf = 34-client-auth-DTLSv1.2-require-non-empty-names-ssl
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[34-client-auth-DTLSv1.2-require-non-empty-names-ssl]
|
|
|
|
server = 34-client-auth-DTLSv1.2-require-non-empty-names-server
|
|
|
|
client = 34-client-auth-DTLSv1.2-require-non-empty-names-client
|
2017-03-14 13:56:22 +00:00
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[34-client-auth-DTLSv1.2-require-non-empty-names-server]
|
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
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
|
|
|
|
|
|
|
|
[34-client-auth-DTLSv1.2-require-non-empty-names-client]
|
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1.2
|
|
|
|
MinProtocol = DTLSv1.2
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
|
|
|
[test-34]
|
|
|
|
ExpectedClientCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
|
|
|
|
ExpectedClientCertType = RSA
|
|
|
|
ExpectedResult = Success
|
|
|
|
Method = DTLS
|
|
|
|
|
|
|
|
|
|
|
|
# ===========================================================
|
|
|
|
|
|
|
|
[35-client-auth-DTLSv1.2-noroot]
|
|
|
|
ssl_conf = 35-client-auth-DTLSv1.2-noroot-ssl
|
|
|
|
|
|
|
|
[35-client-auth-DTLSv1.2-noroot-ssl]
|
|
|
|
server = 35-client-auth-DTLSv1.2-noroot-server
|
|
|
|
client = 35-client-auth-DTLSv1.2-noroot-client
|
|
|
|
|
|
|
|
[35-client-auth-DTLSv1.2-noroot-server]
|
2017-03-14 13:56:22 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1.2
|
|
|
|
MinProtocol = DTLSv1.2
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
|
|
|
|
VerifyMode = Require
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[35-client-auth-DTLSv1.2-noroot-client]
|
2017-03-14 13:56:22 +00:00
|
|
|
Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
|
|
|
|
CipherString = DEFAULT
|
|
|
|
MaxProtocol = DTLSv1.2
|
|
|
|
MinProtocol = DTLSv1.2
|
|
|
|
PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
|
|
|
|
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
|
|
|
|
VerifyMode = Peer
|
|
|
|
|
2017-03-15 17:26:05 +00:00
|
|
|
[test-35]
|
2017-03-14 13:56:22 +00:00
|
|
|
ExpectedResult = ServerFail
|
|
|
|
ExpectedServerAlert = UnknownCA
|
|
|
|
Method = DTLS
|
|
|
|
|
|
|
|
|