Update - OpenSSL 1.1.1-pre7-dev

This commit is contained in:
2018-05-23 23:52:41 +09:00
parent e8a0afd4a0
commit ef253190c7
624 changed files with 189420 additions and 8064 deletions
+2
View File
@@ -18787,6 +18787,7 @@ PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[676-ciphersuite-sanity-check-client-client]
CipherString = AES128-SHA
Ciphersuites =
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
@@ -18806,6 +18807,7 @@ client = 677-ciphersuite-sanity-check-server-client
[677-ciphersuite-sanity-check-server-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = AES128-SHA
Ciphersuites =
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[677-ciphersuite-sanity-check-server-client]
+626 -557
View File
@@ -1,52 +1,54 @@
# Generated with generate_ssl_tests.pl
num_tests = 45
num_tests = 47
test-0 = 0-ECDSA CipherString Selection
test-1 = 1-Ed25519 CipherString and Signature Algorithm Selection
test-2 = 2-Ed448 CipherString and Signature Algorithm Selection
test-3 = 3-RSA CipherString Selection
test-4 = 4-RSA-PSS Certificate CipherString Selection
test-5 = 5-P-256 CipherString and Signature Algorithm Selection
test-6 = 6-Ed25519 CipherString and Curves Selection
test-7 = 7-Ed448 CipherString and Curves Selection
test-8 = 8-ECDSA CipherString Selection, no ECDSA certificate
test-9 = 9-ECDSA Signature Algorithm Selection
test-10 = 10-ECDSA Signature Algorithm Selection SHA384
test-11 = 11-ECDSA Signature Algorithm Selection SHA1
test-12 = 12-ECDSA Signature Algorithm Selection compressed point
test-13 = 13-ECDSA Signature Algorithm Selection, no ECDSA certificate
test-14 = 14-RSA Signature Algorithm Selection
test-15 = 15-RSA-PSS Signature Algorithm Selection
test-16 = 16-RSA-PSS Certificate Legacy Signature Algorithm Selection
test-17 = 17-RSA-PSS Certificate Unified Signature Algorithm Selection
test-18 = 18-Only RSA-PSS Certificate
test-19 = 19-RSA-PSS Certificate, no PSS signature algorithms
test-20 = 20-Suite B P-256 Hash Algorithm Selection
test-21 = 21-Suite B P-384 Hash Algorithm Selection
test-22 = 22-TLS 1.2 Ed25519 Client Auth
test-23 = 23-TLS 1.2 Ed448 Client Auth
test-24 = 24-Only RSA-PSS Certificate, TLS v1.1
test-25 = 25-TLS 1.3 ECDSA Signature Algorithm Selection
test-26 = 26-TLS 1.3 ECDSA Signature Algorithm Selection compressed point
test-27 = 27-TLS 1.3 ECDSA Signature Algorithm Selection SHA1
test-28 = 28-TLS 1.3 ECDSA Signature Algorithm Selection with PSS
test-29 = 29-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS
test-30 = 30-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate
test-31 = 31-TLS 1.3 RSA Signature Algorithm Selection, no PSS
test-32 = 32-TLS 1.3 RSA-PSS Signature Algorithm Selection
test-33 = 33-TLS 1.3 Ed25519 Signature Algorithm Selection
test-34 = 34-TLS 1.3 Ed448 Signature Algorithm Selection
test-35 = 35-TLS 1.3 Ed25519 CipherString and Groups Selection
test-36 = 36-TLS 1.3 Ed448 CipherString and Groups Selection
test-37 = 37-TLS 1.3 RSA Client Auth Signature Algorithm Selection
test-38 = 38-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names
test-39 = 39-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection
test-40 = 40-TLS 1.3 Ed25519 Client Auth
test-41 = 41-TLS 1.3 Ed448 Client Auth
test-42 = 42-TLS 1.2 DSA Certificate Test
test-43 = 43-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms
test-44 = 44-TLS 1.3 DSA Certificate Test
test-1 = 1-ECDSA CipherString Selection
test-2 = 2-ECDSA CipherString Selection
test-3 = 3-Ed25519 CipherString and Signature Algorithm Selection
test-4 = 4-Ed448 CipherString and Signature Algorithm Selection
test-5 = 5-RSA CipherString Selection
test-6 = 6-RSA-PSS Certificate CipherString Selection
test-7 = 7-P-256 CipherString and Signature Algorithm Selection
test-8 = 8-Ed25519 CipherString and Curves Selection
test-9 = 9-Ed448 CipherString and Curves Selection
test-10 = 10-ECDSA CipherString Selection, no ECDSA certificate
test-11 = 11-ECDSA Signature Algorithm Selection
test-12 = 12-ECDSA Signature Algorithm Selection SHA384
test-13 = 13-ECDSA Signature Algorithm Selection SHA1
test-14 = 14-ECDSA Signature Algorithm Selection compressed point
test-15 = 15-ECDSA Signature Algorithm Selection, no ECDSA certificate
test-16 = 16-RSA Signature Algorithm Selection
test-17 = 17-RSA-PSS Signature Algorithm Selection
test-18 = 18-RSA-PSS Certificate Legacy Signature Algorithm Selection
test-19 = 19-RSA-PSS Certificate Unified Signature Algorithm Selection
test-20 = 20-Only RSA-PSS Certificate
test-21 = 21-RSA-PSS Certificate, no PSS signature algorithms
test-22 = 22-Suite B P-256 Hash Algorithm Selection
test-23 = 23-Suite B P-384 Hash Algorithm Selection
test-24 = 24-TLS 1.2 Ed25519 Client Auth
test-25 = 25-TLS 1.2 Ed448 Client Auth
test-26 = 26-Only RSA-PSS Certificate, TLS v1.1
test-27 = 27-TLS 1.3 ECDSA Signature Algorithm Selection
test-28 = 28-TLS 1.3 ECDSA Signature Algorithm Selection compressed point
test-29 = 29-TLS 1.3 ECDSA Signature Algorithm Selection SHA1
test-30 = 30-TLS 1.3 ECDSA Signature Algorithm Selection with PSS
test-31 = 31-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS
test-32 = 32-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate
test-33 = 33-TLS 1.3 RSA Signature Algorithm Selection, no PSS
test-34 = 34-TLS 1.3 RSA-PSS Signature Algorithm Selection
test-35 = 35-TLS 1.3 Ed25519 Signature Algorithm Selection
test-36 = 36-TLS 1.3 Ed448 Signature Algorithm Selection
test-37 = 37-TLS 1.3 Ed25519 CipherString and Groups Selection
test-38 = 38-TLS 1.3 Ed448 CipherString and Groups Selection
test-39 = 39-TLS 1.3 RSA Client Auth Signature Algorithm Selection
test-40 = 40-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names
test-41 = 41-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection
test-42 = 42-TLS 1.3 Ed25519 Client Auth
test-43 = 43-TLS 1.3 Ed448 Client Auth
test-44 = 44-TLS 1.2 DSA Certificate Test
test-45 = 45-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms
test-46 = 46-TLS 1.3 DSA Certificate Test
# ===========================================================
[0-ECDSA CipherString Selection]
@@ -84,14 +86,77 @@ ExpectedServerSignType = EC
# ===========================================================
[1-Ed25519 CipherString and Signature Algorithm Selection]
ssl_conf = 1-Ed25519 CipherString and Signature Algorithm Selection-ssl
[1-ECDSA CipherString Selection]
ssl_conf = 1-ECDSA CipherString Selection-ssl
[1-Ed25519 CipherString and Signature Algorithm Selection-ssl]
server = 1-Ed25519 CipherString and Signature Algorithm Selection-server
client = 1-Ed25519 CipherString and Signature Algorithm Selection-client
[1-ECDSA CipherString Selection-ssl]
server = 1-ECDSA CipherString Selection-server
client = 1-ECDSA CipherString Selection-client
[1-Ed25519 CipherString and Signature Algorithm Selection-server]
[1-ECDSA CipherString Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
Groups = P-384
MaxProtocol = TLSv1.2
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[1-ECDSA CipherString Selection-client]
CipherString = aECDSA
Groups = P-256:P-384
MaxProtocol = TLSv1.2
RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-1]
ExpectedResult = Success
ExpectedServerCANames = empty
ExpectedServerCertType = P-256
ExpectedServerSignType = EC
# ===========================================================
[2-ECDSA CipherString Selection]
ssl_conf = 2-ECDSA CipherString Selection-ssl
[2-ECDSA CipherString Selection-ssl]
server = 2-ECDSA CipherString Selection-server
client = 2-ECDSA CipherString Selection-client
[2-ECDSA CipherString Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
Groups = P-256:P-384
MaxProtocol = TLSv1.2
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[2-ECDSA CipherString Selection-client]
CipherString = aECDSA
Groups = P-384
MaxProtocol = TLSv1.2
RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-2]
ExpectedResult = ServerFail
# ===========================================================
[3-Ed25519 CipherString and Signature Algorithm Selection]
ssl_conf = 3-Ed25519 CipherString and Signature Algorithm Selection-ssl
[3-Ed25519 CipherString and Signature Algorithm Selection-ssl]
server = 3-Ed25519 CipherString and Signature Algorithm Selection-server
client = 3-Ed25519 CipherString and Signature Algorithm Selection-client
[3-Ed25519 CipherString and Signature Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -103,7 +168,7 @@ Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
MaxProtocol = TLSv1.2
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[1-Ed25519 CipherString and Signature Algorithm Selection-client]
[3-Ed25519 CipherString and Signature Algorithm Selection-client]
CipherString = aECDSA
MaxProtocol = TLSv1.2
RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
@@ -111,7 +176,7 @@ SignatureAlgorithms = ed25519:ECDSA+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-1]
[test-3]
ExpectedResult = Success
ExpectedServerCANames = empty
ExpectedServerCertType = Ed25519
@@ -120,14 +185,14 @@ ExpectedServerSignType = Ed25519
# ===========================================================
[2-Ed448 CipherString and Signature Algorithm Selection]
ssl_conf = 2-Ed448 CipherString and Signature Algorithm Selection-ssl
[4-Ed448 CipherString and Signature Algorithm Selection]
ssl_conf = 4-Ed448 CipherString and Signature Algorithm Selection-ssl
[2-Ed448 CipherString and Signature Algorithm Selection-ssl]
server = 2-Ed448 CipherString and Signature Algorithm Selection-server
client = 2-Ed448 CipherString and Signature Algorithm Selection-client
[4-Ed448 CipherString and Signature Algorithm Selection-ssl]
server = 4-Ed448 CipherString and Signature Algorithm Selection-server
client = 4-Ed448 CipherString and Signature Algorithm Selection-client
[2-Ed448 CipherString and Signature Algorithm Selection-server]
[4-Ed448 CipherString and Signature Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -139,7 +204,7 @@ Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
MaxProtocol = TLSv1.2
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[2-Ed448 CipherString and Signature Algorithm Selection-client]
[4-Ed448 CipherString and Signature Algorithm Selection-client]
CipherString = aECDSA
MaxProtocol = TLSv1.2
RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
@@ -147,7 +212,7 @@ SignatureAlgorithms = ed448:ECDSA+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-2]
[test-4]
ExpectedResult = Success
ExpectedServerCANames = empty
ExpectedServerCertType = Ed448
@@ -156,14 +221,14 @@ ExpectedServerSignType = Ed448
# ===========================================================
[3-RSA CipherString Selection]
ssl_conf = 3-RSA CipherString Selection-ssl
[5-RSA CipherString Selection]
ssl_conf = 5-RSA CipherString Selection-ssl
[3-RSA CipherString Selection-ssl]
server = 3-RSA CipherString Selection-server
client = 3-RSA CipherString Selection-client
[5-RSA CipherString Selection-ssl]
server = 5-RSA CipherString Selection-server
client = 5-RSA CipherString Selection-client
[3-RSA CipherString Selection-server]
[5-RSA CipherString Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -175,13 +240,13 @@ Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
MaxProtocol = TLSv1.2
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[3-RSA CipherString Selection-client]
[5-RSA CipherString Selection-client]
CipherString = aRSA
MaxProtocol = TLSv1.2
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-3]
[test-5]
ExpectedResult = Success
ExpectedServerCertType = RSA
ExpectedServerSignType = RSA-PSS
@@ -189,14 +254,14 @@ ExpectedServerSignType = RSA-PSS
# ===========================================================
[4-RSA-PSS Certificate CipherString Selection]
ssl_conf = 4-RSA-PSS Certificate CipherString Selection-ssl
[6-RSA-PSS Certificate CipherString Selection]
ssl_conf = 6-RSA-PSS Certificate CipherString Selection-ssl
[4-RSA-PSS Certificate CipherString Selection-ssl]
server = 4-RSA-PSS Certificate CipherString Selection-server
client = 4-RSA-PSS Certificate CipherString Selection-client
[6-RSA-PSS Certificate CipherString Selection-ssl]
server = 6-RSA-PSS Certificate CipherString Selection-server
client = 6-RSA-PSS Certificate CipherString Selection-client
[4-RSA-PSS Certificate CipherString Selection-server]
[6-RSA-PSS Certificate CipherString Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -210,13 +275,13 @@ PSS.Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
PSS.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[4-RSA-PSS Certificate CipherString Selection-client]
[6-RSA-PSS Certificate CipherString Selection-client]
CipherString = aRSA
MaxProtocol = TLSv1.2
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-4]
[test-6]
ExpectedResult = Success
ExpectedServerCertType = RSA-PSS
ExpectedServerSignType = RSA-PSS
@@ -224,14 +289,14 @@ ExpectedServerSignType = RSA-PSS
# ===========================================================
[5-P-256 CipherString and Signature Algorithm Selection]
ssl_conf = 5-P-256 CipherString and Signature Algorithm Selection-ssl
[7-P-256 CipherString and Signature Algorithm Selection]
ssl_conf = 7-P-256 CipherString and Signature Algorithm Selection-ssl
[5-P-256 CipherString and Signature Algorithm Selection-ssl]
server = 5-P-256 CipherString and Signature Algorithm Selection-server
client = 5-P-256 CipherString and Signature Algorithm Selection-client
[7-P-256 CipherString and Signature Algorithm Selection-ssl]
server = 7-P-256 CipherString and Signature Algorithm Selection-server
client = 7-P-256 CipherString and Signature Algorithm Selection-client
[5-P-256 CipherString and Signature Algorithm Selection-server]
[7-P-256 CipherString and Signature Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -243,14 +308,14 @@ Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
MaxProtocol = TLSv1.2
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[5-P-256 CipherString and Signature Algorithm Selection-client]
[7-P-256 CipherString and Signature Algorithm Selection-client]
CipherString = aECDSA
MaxProtocol = TLSv1.2
SignatureAlgorithms = ECDSA+SHA256:ed25519
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-5]
[test-7]
ExpectedResult = Success
ExpectedServerCertType = P-256
ExpectedServerSignHash = SHA256
@@ -259,14 +324,14 @@ ExpectedServerSignType = EC
# ===========================================================
[6-Ed25519 CipherString and Curves Selection]
ssl_conf = 6-Ed25519 CipherString and Curves Selection-ssl
[8-Ed25519 CipherString and Curves Selection]
ssl_conf = 8-Ed25519 CipherString and Curves Selection-ssl
[6-Ed25519 CipherString and Curves Selection-ssl]
server = 6-Ed25519 CipherString and Curves Selection-server
client = 6-Ed25519 CipherString and Curves Selection-client
[8-Ed25519 CipherString and Curves Selection-ssl]
server = 8-Ed25519 CipherString and Curves Selection-server
client = 8-Ed25519 CipherString and Curves Selection-client
[6-Ed25519 CipherString and Curves Selection-server]
[8-Ed25519 CipherString and Curves Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -278,7 +343,7 @@ Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
MaxProtocol = TLSv1.2
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[6-Ed25519 CipherString and Curves Selection-client]
[8-Ed25519 CipherString and Curves Selection-client]
CipherString = aECDSA
Curves = X25519
MaxProtocol = TLSv1.2
@@ -286,7 +351,7 @@ SignatureAlgorithms = ECDSA+SHA256:ed25519
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-6]
[test-8]
ExpectedResult = Success
ExpectedServerCertType = Ed25519
ExpectedServerSignType = Ed25519
@@ -294,14 +359,14 @@ ExpectedServerSignType = Ed25519
# ===========================================================
[7-Ed448 CipherString and Curves Selection]
ssl_conf = 7-Ed448 CipherString and Curves Selection-ssl
[9-Ed448 CipherString and Curves Selection]
ssl_conf = 9-Ed448 CipherString and Curves Selection-ssl
[7-Ed448 CipherString and Curves Selection-ssl]
server = 7-Ed448 CipherString and Curves Selection-server
client = 7-Ed448 CipherString and Curves Selection-client
[9-Ed448 CipherString and Curves Selection-ssl]
server = 9-Ed448 CipherString and Curves Selection-server
client = 9-Ed448 CipherString and Curves Selection-client
[7-Ed448 CipherString and Curves Selection-server]
[9-Ed448 CipherString and Curves Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -313,7 +378,7 @@ Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
MaxProtocol = TLSv1.2
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[7-Ed448 CipherString and Curves Selection-client]
[9-Ed448 CipherString and Curves Selection-client]
CipherString = aECDSA
Curves = X448
MaxProtocol = TLSv1.2
@@ -321,7 +386,7 @@ SignatureAlgorithms = ECDSA+SHA256:ed448
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-7]
[test-9]
ExpectedResult = Success
ExpectedServerCertType = Ed448
ExpectedServerSignType = Ed448
@@ -329,39 +394,39 @@ ExpectedServerSignType = Ed448
# ===========================================================
[8-ECDSA CipherString Selection, no ECDSA certificate]
ssl_conf = 8-ECDSA CipherString Selection, no ECDSA certificate-ssl
[10-ECDSA CipherString Selection, no ECDSA certificate]
ssl_conf = 10-ECDSA CipherString Selection, no ECDSA certificate-ssl
[8-ECDSA CipherString Selection, no ECDSA certificate-ssl]
server = 8-ECDSA CipherString Selection, no ECDSA certificate-server
client = 8-ECDSA CipherString Selection, no ECDSA certificate-client
[10-ECDSA CipherString Selection, no ECDSA certificate-ssl]
server = 10-ECDSA CipherString Selection, no ECDSA certificate-server
client = 10-ECDSA CipherString Selection, no ECDSA certificate-client
[8-ECDSA CipherString Selection, no ECDSA certificate-server]
[10-ECDSA CipherString Selection, no ECDSA certificate-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
MaxProtocol = TLSv1.2
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[8-ECDSA CipherString Selection, no ECDSA certificate-client]
[10-ECDSA CipherString Selection, no ECDSA certificate-client]
CipherString = aECDSA
MaxProtocol = TLSv1.2
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-8]
[test-10]
ExpectedResult = ServerFail
# ===========================================================
[9-ECDSA Signature Algorithm Selection]
ssl_conf = 9-ECDSA Signature Algorithm Selection-ssl
[11-ECDSA Signature Algorithm Selection]
ssl_conf = 11-ECDSA Signature Algorithm Selection-ssl
[9-ECDSA Signature Algorithm Selection-ssl]
server = 9-ECDSA Signature Algorithm Selection-server
client = 9-ECDSA Signature Algorithm Selection-client
[11-ECDSA Signature Algorithm Selection-ssl]
server = 11-ECDSA Signature Algorithm Selection-server
client = 11-ECDSA Signature Algorithm Selection-client
[9-ECDSA Signature Algorithm Selection-server]
[11-ECDSA Signature Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -373,13 +438,13 @@ Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
MaxProtocol = TLSv1.2
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[9-ECDSA Signature Algorithm Selection-client]
[11-ECDSA Signature Algorithm Selection-client]
CipherString = DEFAULT
SignatureAlgorithms = ECDSA+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-9]
[test-11]
ExpectedResult = Success
ExpectedServerCertType = P-256
ExpectedServerSignHash = SHA256
@@ -388,14 +453,14 @@ ExpectedServerSignType = EC
# ===========================================================
[10-ECDSA Signature Algorithm Selection SHA384]
ssl_conf = 10-ECDSA Signature Algorithm Selection SHA384-ssl
[12-ECDSA Signature Algorithm Selection SHA384]
ssl_conf = 12-ECDSA Signature Algorithm Selection SHA384-ssl
[10-ECDSA Signature Algorithm Selection SHA384-ssl]
server = 10-ECDSA Signature Algorithm Selection SHA384-server
client = 10-ECDSA Signature Algorithm Selection SHA384-client
[12-ECDSA Signature Algorithm Selection SHA384-ssl]
server = 12-ECDSA Signature Algorithm Selection SHA384-server
client = 12-ECDSA Signature Algorithm Selection SHA384-client
[10-ECDSA Signature Algorithm Selection SHA384-server]
[12-ECDSA Signature Algorithm Selection SHA384-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -407,13 +472,13 @@ Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
MaxProtocol = TLSv1.2
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[10-ECDSA Signature Algorithm Selection SHA384-client]
[12-ECDSA Signature Algorithm Selection SHA384-client]
CipherString = DEFAULT
SignatureAlgorithms = ECDSA+SHA384
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-10]
[test-12]
ExpectedResult = Success
ExpectedServerCertType = P-256
ExpectedServerSignHash = SHA384
@@ -422,14 +487,14 @@ ExpectedServerSignType = EC
# ===========================================================
[11-ECDSA Signature Algorithm Selection SHA1]
ssl_conf = 11-ECDSA Signature Algorithm Selection SHA1-ssl
[13-ECDSA Signature Algorithm Selection SHA1]
ssl_conf = 13-ECDSA Signature Algorithm Selection SHA1-ssl
[11-ECDSA Signature Algorithm Selection SHA1-ssl]
server = 11-ECDSA Signature Algorithm Selection SHA1-server
client = 11-ECDSA Signature Algorithm Selection SHA1-client
[13-ECDSA Signature Algorithm Selection SHA1-ssl]
server = 13-ECDSA Signature Algorithm Selection SHA1-server
client = 13-ECDSA Signature Algorithm Selection SHA1-client
[11-ECDSA Signature Algorithm Selection SHA1-server]
[13-ECDSA Signature Algorithm Selection SHA1-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -441,13 +506,13 @@ Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
MaxProtocol = TLSv1.2
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[11-ECDSA Signature Algorithm Selection SHA1-client]
[13-ECDSA Signature Algorithm Selection SHA1-client]
CipherString = DEFAULT
SignatureAlgorithms = ECDSA+SHA1
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-11]
[test-13]
ExpectedResult = Success
ExpectedServerCertType = P-256
ExpectedServerSignHash = SHA1
@@ -456,14 +521,14 @@ ExpectedServerSignType = EC
# ===========================================================
[12-ECDSA Signature Algorithm Selection compressed point]
ssl_conf = 12-ECDSA Signature Algorithm Selection compressed point-ssl
[14-ECDSA Signature Algorithm Selection compressed point]
ssl_conf = 14-ECDSA Signature Algorithm Selection compressed point-ssl
[12-ECDSA Signature Algorithm Selection compressed point-ssl]
server = 12-ECDSA Signature Algorithm Selection compressed point-server
client = 12-ECDSA Signature Algorithm Selection compressed point-client
[14-ECDSA Signature Algorithm Selection compressed point-ssl]
server = 14-ECDSA Signature Algorithm Selection compressed point-server
client = 14-ECDSA Signature Algorithm Selection compressed point-client
[12-ECDSA Signature Algorithm Selection compressed point-server]
[14-ECDSA Signature Algorithm Selection compressed point-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-cecdsa-cert.pem
@@ -471,13 +536,13 @@ ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-cecdsa-key.pem
MaxProtocol = TLSv1.2
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[12-ECDSA Signature Algorithm Selection compressed point-client]
[14-ECDSA Signature Algorithm Selection compressed point-client]
CipherString = DEFAULT
SignatureAlgorithms = ECDSA+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-12]
[test-14]
ExpectedResult = Success
ExpectedServerCertType = P-256
ExpectedServerSignHash = SHA256
@@ -486,39 +551,39 @@ ExpectedServerSignType = EC
# ===========================================================
[13-ECDSA Signature Algorithm Selection, no ECDSA certificate]
ssl_conf = 13-ECDSA Signature Algorithm Selection, no ECDSA certificate-ssl
[15-ECDSA Signature Algorithm Selection, no ECDSA certificate]
ssl_conf = 15-ECDSA Signature Algorithm Selection, no ECDSA certificate-ssl
[13-ECDSA Signature Algorithm Selection, no ECDSA certificate-ssl]
server = 13-ECDSA Signature Algorithm Selection, no ECDSA certificate-server
client = 13-ECDSA Signature Algorithm Selection, no ECDSA certificate-client
[15-ECDSA Signature Algorithm Selection, no ECDSA certificate-ssl]
server = 15-ECDSA Signature Algorithm Selection, no ECDSA certificate-server
client = 15-ECDSA Signature Algorithm Selection, no ECDSA certificate-client
[13-ECDSA Signature Algorithm Selection, no ECDSA certificate-server]
[15-ECDSA Signature Algorithm Selection, no ECDSA certificate-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
MaxProtocol = TLSv1.2
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[13-ECDSA Signature Algorithm Selection, no ECDSA certificate-client]
[15-ECDSA Signature Algorithm Selection, no ECDSA certificate-client]
CipherString = DEFAULT
SignatureAlgorithms = ECDSA+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-13]
[test-15]
ExpectedResult = ServerFail
# ===========================================================
[14-RSA Signature Algorithm Selection]
ssl_conf = 14-RSA Signature Algorithm Selection-ssl
[16-RSA Signature Algorithm Selection]
ssl_conf = 16-RSA Signature Algorithm Selection-ssl
[14-RSA Signature Algorithm Selection-ssl]
server = 14-RSA Signature Algorithm Selection-server
client = 14-RSA Signature Algorithm Selection-client
[16-RSA Signature Algorithm Selection-ssl]
server = 16-RSA Signature Algorithm Selection-server
client = 16-RSA Signature Algorithm Selection-client
[14-RSA Signature Algorithm Selection-server]
[16-RSA Signature Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -530,13 +595,13 @@ Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
MaxProtocol = TLSv1.2
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[14-RSA Signature Algorithm Selection-client]
[16-RSA Signature Algorithm Selection-client]
CipherString = DEFAULT
SignatureAlgorithms = RSA+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-14]
[test-16]
ExpectedResult = Success
ExpectedServerCertType = RSA
ExpectedServerSignHash = SHA256
@@ -545,14 +610,14 @@ ExpectedServerSignType = RSA
# ===========================================================
[15-RSA-PSS Signature Algorithm Selection]
ssl_conf = 15-RSA-PSS Signature Algorithm Selection-ssl
[17-RSA-PSS Signature Algorithm Selection]
ssl_conf = 17-RSA-PSS Signature Algorithm Selection-ssl
[15-RSA-PSS Signature Algorithm Selection-ssl]
server = 15-RSA-PSS Signature Algorithm Selection-server
client = 15-RSA-PSS Signature Algorithm Selection-client
[17-RSA-PSS Signature Algorithm Selection-ssl]
server = 17-RSA-PSS Signature Algorithm Selection-server
client = 17-RSA-PSS Signature Algorithm Selection-client
[15-RSA-PSS Signature Algorithm Selection-server]
[17-RSA-PSS Signature Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -564,112 +629,86 @@ Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
MaxProtocol = TLSv1.2
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[15-RSA-PSS Signature Algorithm Selection-client]
[17-RSA-PSS Signature Algorithm Selection-client]
CipherString = DEFAULT
SignatureAlgorithms = RSA-PSS+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-15]
ExpectedResult = Success
ExpectedServerCertType = RSA
ExpectedServerSignHash = SHA256
ExpectedServerSignType = RSA-PSS
# ===========================================================
[16-RSA-PSS Certificate Legacy Signature Algorithm Selection]
ssl_conf = 16-RSA-PSS Certificate Legacy Signature Algorithm Selection-ssl
[16-RSA-PSS Certificate Legacy Signature Algorithm Selection-ssl]
server = 16-RSA-PSS Certificate Legacy Signature Algorithm Selection-server
client = 16-RSA-PSS Certificate Legacy Signature Algorithm Selection-client
[16-RSA-PSS Certificate Legacy Signature Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
MaxProtocol = TLSv1.2
PSS.Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
PSS.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[16-RSA-PSS Certificate Legacy Signature Algorithm Selection-client]
CipherString = DEFAULT
SignatureAlgorithms = RSA-PSS+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-16]
ExpectedResult = Success
ExpectedServerCertType = RSA
ExpectedServerSignHash = SHA256
ExpectedServerSignType = RSA-PSS
# ===========================================================
[17-RSA-PSS Certificate Unified Signature Algorithm Selection]
ssl_conf = 17-RSA-PSS Certificate Unified Signature Algorithm Selection-ssl
[17-RSA-PSS Certificate Unified Signature Algorithm Selection-ssl]
server = 17-RSA-PSS Certificate Unified Signature Algorithm Selection-server
client = 17-RSA-PSS Certificate Unified Signature Algorithm Selection-client
[17-RSA-PSS Certificate Unified Signature Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
MaxProtocol = TLSv1.2
PSS.Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
PSS.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[17-RSA-PSS Certificate Unified Signature Algorithm Selection-client]
CipherString = DEFAULT
SignatureAlgorithms = rsa_pss_pss_sha256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-17]
ExpectedResult = Success
ExpectedServerCertType = RSA-PSS
ExpectedServerCertType = RSA
ExpectedServerSignHash = SHA256
ExpectedServerSignType = RSA-PSS
# ===========================================================
[18-Only RSA-PSS Certificate]
ssl_conf = 18-Only RSA-PSS Certificate-ssl
[18-RSA-PSS Certificate Legacy Signature Algorithm Selection]
ssl_conf = 18-RSA-PSS Certificate Legacy Signature Algorithm Selection-ssl
[18-Only RSA-PSS Certificate-ssl]
server = 18-Only RSA-PSS Certificate-server
client = 18-Only RSA-PSS Certificate-client
[18-RSA-PSS Certificate Legacy Signature Algorithm Selection-ssl]
server = 18-RSA-PSS Certificate Legacy Signature Algorithm Selection-server
client = 18-RSA-PSS Certificate Legacy Signature Algorithm Selection-client
[18-Only RSA-PSS Certificate-server]
Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
[18-RSA-PSS Certificate Legacy Signature Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
MaxProtocol = TLSv1.2
PSS.Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
PSS.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[18-Only RSA-PSS Certificate-client]
[18-RSA-PSS Certificate Legacy Signature Algorithm Selection-client]
CipherString = DEFAULT
SignatureAlgorithms = RSA-PSS+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-18]
ExpectedResult = Success
ExpectedServerCertType = RSA
ExpectedServerSignHash = SHA256
ExpectedServerSignType = RSA-PSS
# ===========================================================
[19-RSA-PSS Certificate Unified Signature Algorithm Selection]
ssl_conf = 19-RSA-PSS Certificate Unified Signature Algorithm Selection-ssl
[19-RSA-PSS Certificate Unified Signature Algorithm Selection-ssl]
server = 19-RSA-PSS Certificate Unified Signature Algorithm Selection-server
client = 19-RSA-PSS Certificate Unified Signature Algorithm Selection-client
[19-RSA-PSS Certificate Unified Signature Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
MaxProtocol = TLSv1.2
PSS.Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
PSS.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[19-RSA-PSS Certificate Unified Signature Algorithm Selection-client]
CipherString = DEFAULT
SignatureAlgorithms = rsa_pss_pss_sha256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-19]
ExpectedResult = Success
ExpectedServerCertType = RSA-PSS
ExpectedServerSignHash = SHA256
ExpectedServerSignType = RSA-PSS
@@ -677,38 +716,64 @@ ExpectedServerSignType = RSA-PSS
# ===========================================================
[19-RSA-PSS Certificate, no PSS signature algorithms]
ssl_conf = 19-RSA-PSS Certificate, no PSS signature algorithms-ssl
[20-Only RSA-PSS Certificate]
ssl_conf = 20-Only RSA-PSS Certificate-ssl
[19-RSA-PSS Certificate, no PSS signature algorithms-ssl]
server = 19-RSA-PSS Certificate, no PSS signature algorithms-server
client = 19-RSA-PSS Certificate, no PSS signature algorithms-client
[20-Only RSA-PSS Certificate-ssl]
server = 20-Only RSA-PSS Certificate-server
client = 20-Only RSA-PSS Certificate-client
[19-RSA-PSS Certificate, no PSS signature algorithms-server]
[20-Only RSA-PSS Certificate-server]
Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
CipherString = DEFAULT
PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
[19-RSA-PSS Certificate, no PSS signature algorithms-client]
[20-Only RSA-PSS Certificate-client]
CipherString = DEFAULT
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-20]
ExpectedResult = Success
ExpectedServerCertType = RSA-PSS
ExpectedServerSignHash = SHA256
ExpectedServerSignType = RSA-PSS
# ===========================================================
[21-RSA-PSS Certificate, no PSS signature algorithms]
ssl_conf = 21-RSA-PSS Certificate, no PSS signature algorithms-ssl
[21-RSA-PSS Certificate, no PSS signature algorithms-ssl]
server = 21-RSA-PSS Certificate, no PSS signature algorithms-server
client = 21-RSA-PSS Certificate, no PSS signature algorithms-client
[21-RSA-PSS Certificate, no PSS signature algorithms-server]
Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
CipherString = DEFAULT
PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
[21-RSA-PSS Certificate, no PSS signature algorithms-client]
CipherString = DEFAULT
SignatureAlgorithms = RSA+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-19]
[test-21]
ExpectedResult = ServerFail
# ===========================================================
[20-Suite B P-256 Hash Algorithm Selection]
ssl_conf = 20-Suite B P-256 Hash Algorithm Selection-ssl
[22-Suite B P-256 Hash Algorithm Selection]
ssl_conf = 22-Suite B P-256 Hash Algorithm Selection-ssl
[20-Suite B P-256 Hash Algorithm Selection-ssl]
server = 20-Suite B P-256 Hash Algorithm Selection-server
client = 20-Suite B P-256 Hash Algorithm Selection-client
[22-Suite B P-256 Hash Algorithm Selection-ssl]
server = 22-Suite B P-256 Hash Algorithm Selection-server
client = 22-Suite B P-256 Hash Algorithm Selection-client
[20-Suite B P-256 Hash Algorithm Selection-server]
[22-Suite B P-256 Hash Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = SUITEB128
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/p256-server-cert.pem
@@ -716,13 +781,13 @@ ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/p256-server-key.pem
MaxProtocol = TLSv1.2
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[20-Suite B P-256 Hash Algorithm Selection-client]
[22-Suite B P-256 Hash Algorithm Selection-client]
CipherString = DEFAULT
SignatureAlgorithms = ECDSA+SHA384:ECDSA+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/p384-root.pem
VerifyMode = Peer
[test-20]
[test-22]
ExpectedResult = Success
ExpectedServerCertType = P-256
ExpectedServerSignHash = SHA256
@@ -731,14 +796,14 @@ ExpectedServerSignType = EC
# ===========================================================
[21-Suite B P-384 Hash Algorithm Selection]
ssl_conf = 21-Suite B P-384 Hash Algorithm Selection-ssl
[23-Suite B P-384 Hash Algorithm Selection]
ssl_conf = 23-Suite B P-384 Hash Algorithm Selection-ssl
[21-Suite B P-384 Hash Algorithm Selection-ssl]
server = 21-Suite B P-384 Hash Algorithm Selection-server
client = 21-Suite B P-384 Hash Algorithm Selection-client
[23-Suite B P-384 Hash Algorithm Selection-ssl]
server = 23-Suite B P-384 Hash Algorithm Selection-server
client = 23-Suite B P-384 Hash Algorithm Selection-client
[21-Suite B P-384 Hash Algorithm Selection-server]
[23-Suite B P-384 Hash Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = SUITEB128
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/p384-server-cert.pem
@@ -746,13 +811,13 @@ ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/p384-server-key.pem
MaxProtocol = TLSv1.2
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[21-Suite B P-384 Hash Algorithm Selection-client]
[23-Suite B P-384 Hash Algorithm Selection-client]
CipherString = DEFAULT
SignatureAlgorithms = ECDSA+SHA256:ECDSA+SHA384
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/p384-root.pem
VerifyMode = Peer
[test-21]
[test-23]
ExpectedResult = Success
ExpectedServerCertType = P-384
ExpectedServerSignHash = SHA384
@@ -761,21 +826,21 @@ ExpectedServerSignType = EC
# ===========================================================
[22-TLS 1.2 Ed25519 Client Auth]
ssl_conf = 22-TLS 1.2 Ed25519 Client Auth-ssl
[24-TLS 1.2 Ed25519 Client Auth]
ssl_conf = 24-TLS 1.2 Ed25519 Client Auth-ssl
[22-TLS 1.2 Ed25519 Client Auth-ssl]
server = 22-TLS 1.2 Ed25519 Client Auth-server
client = 22-TLS 1.2 Ed25519 Client Auth-client
[24-TLS 1.2 Ed25519 Client Auth-ssl]
server = 24-TLS 1.2 Ed25519 Client Auth-server
client = 24-TLS 1.2 Ed25519 Client Auth-client
[22-TLS 1.2 Ed25519 Client Auth-server]
[24-TLS 1.2 Ed25519 Client Auth-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
[22-TLS 1.2 Ed25519 Client Auth-client]
[24-TLS 1.2 Ed25519 Client Auth-client]
CipherString = DEFAULT
Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/client-ed25519-cert.pem
Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/client-ed25519-key.pem
@@ -784,7 +849,7 @@ MinProtocol = TLSv1.2
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-22]
[test-24]
ExpectedClientCertType = Ed25519
ExpectedClientSignType = Ed25519
ExpectedResult = Success
@@ -792,21 +857,21 @@ ExpectedResult = Success
# ===========================================================
[23-TLS 1.2 Ed448 Client Auth]
ssl_conf = 23-TLS 1.2 Ed448 Client Auth-ssl
[25-TLS 1.2 Ed448 Client Auth]
ssl_conf = 25-TLS 1.2 Ed448 Client Auth-ssl
[23-TLS 1.2 Ed448 Client Auth-ssl]
server = 23-TLS 1.2 Ed448 Client Auth-server
client = 23-TLS 1.2 Ed448 Client Auth-client
[25-TLS 1.2 Ed448 Client Auth-ssl]
server = 25-TLS 1.2 Ed448 Client Auth-server
client = 25-TLS 1.2 Ed448 Client Auth-client
[23-TLS 1.2 Ed448 Client Auth-server]
[25-TLS 1.2 Ed448 Client Auth-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
[23-TLS 1.2 Ed448 Client Auth-client]
[25-TLS 1.2 Ed448 Client Auth-client]
CipherString = DEFAULT
Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/client-ed448-cert.pem
Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/client-ed448-key.pem
@@ -815,7 +880,7 @@ MinProtocol = TLSv1.2
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-23]
[test-25]
ExpectedClientCertType = Ed448
ExpectedClientSignType = Ed448
ExpectedResult = Success
@@ -823,102 +888,38 @@ ExpectedResult = Success
# ===========================================================
[24-Only RSA-PSS Certificate, TLS v1.1]
ssl_conf = 24-Only RSA-PSS Certificate, TLS v1.1-ssl
[26-Only RSA-PSS Certificate, TLS v1.1]
ssl_conf = 26-Only RSA-PSS Certificate, TLS v1.1-ssl
[24-Only RSA-PSS Certificate, TLS v1.1-ssl]
server = 24-Only RSA-PSS Certificate, TLS v1.1-server
client = 24-Only RSA-PSS Certificate, TLS v1.1-client
[26-Only RSA-PSS Certificate, TLS v1.1-ssl]
server = 26-Only RSA-PSS Certificate, TLS v1.1-server
client = 26-Only RSA-PSS Certificate, TLS v1.1-client
[24-Only RSA-PSS Certificate, TLS v1.1-server]
[26-Only RSA-PSS Certificate, TLS v1.1-server]
Certificate = ${ENV::TEST_CERTS_DIR}/server-pss-cert.pem
CipherString = DEFAULT
PrivateKey = ${ENV::TEST_CERTS_DIR}/server-pss-key.pem
[24-Only RSA-PSS Certificate, TLS v1.1-client]
[26-Only RSA-PSS Certificate, TLS v1.1-client]
CipherString = DEFAULT
MaxProtocol = TLSv1.1
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-24]
ExpectedResult = ServerFail
# ===========================================================
[25-TLS 1.3 ECDSA Signature Algorithm Selection]
ssl_conf = 25-TLS 1.3 ECDSA Signature Algorithm Selection-ssl
[25-TLS 1.3 ECDSA Signature Algorithm Selection-ssl]
server = 25-TLS 1.3 ECDSA Signature Algorithm Selection-server
client = 25-TLS 1.3 ECDSA Signature Algorithm Selection-client
[25-TLS 1.3 ECDSA Signature Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
MaxProtocol = TLSv1.3
MinProtocol = TLSv1.3
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[25-TLS 1.3 ECDSA Signature Algorithm Selection-client]
CipherString = DEFAULT
SignatureAlgorithms = ECDSA+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-25]
ExpectedResult = Success
ExpectedServerCANames = empty
ExpectedServerCertType = P-256
ExpectedServerSignHash = SHA256
ExpectedServerSignType = EC
# ===========================================================
[26-TLS 1.3 ECDSA Signature Algorithm Selection compressed point]
ssl_conf = 26-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-ssl
[26-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-ssl]
server = 26-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-server
client = 26-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-client
[26-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-cecdsa-cert.pem
ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-cecdsa-key.pem
MaxProtocol = TLSv1.3
MinProtocol = TLSv1.3
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[26-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-client]
CipherString = DEFAULT
SignatureAlgorithms = ECDSA+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-26]
ExpectedResult = ServerFail
# ===========================================================
[27-TLS 1.3 ECDSA Signature Algorithm Selection SHA1]
ssl_conf = 27-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-ssl
[27-TLS 1.3 ECDSA Signature Algorithm Selection]
ssl_conf = 27-TLS 1.3 ECDSA Signature Algorithm Selection-ssl
[27-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-ssl]
server = 27-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-server
client = 27-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-client
[27-TLS 1.3 ECDSA Signature Algorithm Selection-ssl]
server = 27-TLS 1.3 ECDSA Signature Algorithm Selection-server
client = 27-TLS 1.3 ECDSA Signature Algorithm Selection-client
[27-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-server]
[27-TLS 1.3 ECDSA Signature Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -931,26 +932,94 @@ MaxProtocol = TLSv1.3
MinProtocol = TLSv1.3
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[27-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-client]
[27-TLS 1.3 ECDSA Signature Algorithm Selection-client]
CipherString = DEFAULT
SignatureAlgorithms = ECDSA+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-27]
ExpectedResult = Success
ExpectedServerCANames = empty
ExpectedServerCertType = P-256
ExpectedServerSignHash = SHA256
ExpectedServerSignType = EC
# ===========================================================
[28-TLS 1.3 ECDSA Signature Algorithm Selection compressed point]
ssl_conf = 28-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-ssl
[28-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-ssl]
server = 28-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-server
client = 28-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-client
[28-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-cecdsa-cert.pem
ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-cecdsa-key.pem
MaxProtocol = TLSv1.3
MinProtocol = TLSv1.3
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[28-TLS 1.3 ECDSA Signature Algorithm Selection compressed point-client]
CipherString = DEFAULT
SignatureAlgorithms = ECDSA+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-28]
ExpectedResult = Success
ExpectedServerCANames = empty
ExpectedServerCertType = P-256
ExpectedServerSignHash = SHA256
ExpectedServerSignType = EC
# ===========================================================
[29-TLS 1.3 ECDSA Signature Algorithm Selection SHA1]
ssl_conf = 29-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-ssl
[29-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-ssl]
server = 29-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-server
client = 29-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-client
[29-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
Ed25519.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed25519-cert.pem
Ed25519.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed25519-key.pem
Ed448.Certificate = ${ENV::TEST_CERTS_DIR}/server-ed448-cert.pem
Ed448.PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ed448-key.pem
MaxProtocol = TLSv1.3
MinProtocol = TLSv1.3
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[29-TLS 1.3 ECDSA Signature Algorithm Selection SHA1-client]
CipherString = DEFAULT
SignatureAlgorithms = ECDSA+SHA1
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-27]
[test-29]
ExpectedResult = ServerFail
# ===========================================================
[28-TLS 1.3 ECDSA Signature Algorithm Selection with PSS]
ssl_conf = 28-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-ssl
[30-TLS 1.3 ECDSA Signature Algorithm Selection with PSS]
ssl_conf = 30-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-ssl
[28-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-ssl]
server = 28-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-server
client = 28-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-client
[30-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-ssl]
server = 30-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-server
client = 30-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-client
[28-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-server]
[30-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -963,14 +1032,14 @@ MaxProtocol = TLSv1.3
MinProtocol = TLSv1.3
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[28-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-client]
[30-TLS 1.3 ECDSA Signature Algorithm Selection with PSS-client]
CipherString = DEFAULT
RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
SignatureAlgorithms = ECDSA+SHA256:RSA-PSS+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-28]
[test-30]
ExpectedResult = Success
ExpectedServerCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
ExpectedServerCertType = P-256
@@ -980,14 +1049,14 @@ ExpectedServerSignType = EC
# ===========================================================
[29-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS]
ssl_conf = 29-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-ssl
[31-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS]
ssl_conf = 31-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-ssl
[29-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-ssl]
server = 29-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-server
client = 29-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-client
[31-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-ssl]
server = 31-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-server
client = 31-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-client
[29-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-server]
[31-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -1000,13 +1069,13 @@ MaxProtocol = TLSv1.3
MinProtocol = TLSv1.3
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[29-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-client]
[31-TLS 1.3 RSA Signature Algorithm Selection SHA384 with PSS-client]
CipherString = DEFAULT
SignatureAlgorithms = ECDSA+SHA384:RSA-PSS+SHA384
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-29]
[test-31]
ExpectedResult = Success
ExpectedServerCertType = RSA
ExpectedServerSignHash = SHA384
@@ -1015,40 +1084,40 @@ ExpectedServerSignType = RSA-PSS
# ===========================================================
[30-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate]
ssl_conf = 30-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-ssl
[32-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate]
ssl_conf = 32-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-ssl
[30-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-ssl]
server = 30-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-server
client = 30-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-client
[32-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-ssl]
server = 32-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-server
client = 32-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-client
[30-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-server]
[32-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
MaxProtocol = TLSv1.3
MinProtocol = TLSv1.3
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[30-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-client]
[32-TLS 1.3 ECDSA Signature Algorithm Selection, no ECDSA certificate-client]
CipherString = DEFAULT
SignatureAlgorithms = ECDSA+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-30]
[test-32]
ExpectedResult = ServerFail
# ===========================================================
[31-TLS 1.3 RSA Signature Algorithm Selection, no PSS]
ssl_conf = 31-TLS 1.3 RSA Signature Algorithm Selection, no PSS-ssl
[33-TLS 1.3 RSA Signature Algorithm Selection, no PSS]
ssl_conf = 33-TLS 1.3 RSA Signature Algorithm Selection, no PSS-ssl
[31-TLS 1.3 RSA Signature Algorithm Selection, no PSS-ssl]
server = 31-TLS 1.3 RSA Signature Algorithm Selection, no PSS-server
client = 31-TLS 1.3 RSA Signature Algorithm Selection, no PSS-client
[33-TLS 1.3 RSA Signature Algorithm Selection, no PSS-ssl]
server = 33-TLS 1.3 RSA Signature Algorithm Selection, no PSS-server
client = 33-TLS 1.3 RSA Signature Algorithm Selection, no PSS-client
[31-TLS 1.3 RSA Signature Algorithm Selection, no PSS-server]
[33-TLS 1.3 RSA Signature Algorithm Selection, no PSS-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -1061,26 +1130,26 @@ MaxProtocol = TLSv1.3
MinProtocol = TLSv1.3
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[31-TLS 1.3 RSA Signature Algorithm Selection, no PSS-client]
[33-TLS 1.3 RSA Signature Algorithm Selection, no PSS-client]
CipherString = DEFAULT
SignatureAlgorithms = RSA+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-31]
[test-33]
ExpectedResult = ServerFail
# ===========================================================
[32-TLS 1.3 RSA-PSS Signature Algorithm Selection]
ssl_conf = 32-TLS 1.3 RSA-PSS Signature Algorithm Selection-ssl
[34-TLS 1.3 RSA-PSS Signature Algorithm Selection]
ssl_conf = 34-TLS 1.3 RSA-PSS Signature Algorithm Selection-ssl
[32-TLS 1.3 RSA-PSS Signature Algorithm Selection-ssl]
server = 32-TLS 1.3 RSA-PSS Signature Algorithm Selection-server
client = 32-TLS 1.3 RSA-PSS Signature Algorithm Selection-client
[34-TLS 1.3 RSA-PSS Signature Algorithm Selection-ssl]
server = 34-TLS 1.3 RSA-PSS Signature Algorithm Selection-server
client = 34-TLS 1.3 RSA-PSS Signature Algorithm Selection-client
[32-TLS 1.3 RSA-PSS Signature Algorithm Selection-server]
[34-TLS 1.3 RSA-PSS Signature Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -1093,13 +1162,13 @@ MaxProtocol = TLSv1.3
MinProtocol = TLSv1.3
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[32-TLS 1.3 RSA-PSS Signature Algorithm Selection-client]
[34-TLS 1.3 RSA-PSS Signature Algorithm Selection-client]
CipherString = DEFAULT
SignatureAlgorithms = RSA-PSS+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-32]
[test-34]
ExpectedResult = Success
ExpectedServerCertType = RSA
ExpectedServerSignHash = SHA256
@@ -1108,14 +1177,14 @@ ExpectedServerSignType = RSA-PSS
# ===========================================================
[33-TLS 1.3 Ed25519 Signature Algorithm Selection]
ssl_conf = 33-TLS 1.3 Ed25519 Signature Algorithm Selection-ssl
[35-TLS 1.3 Ed25519 Signature Algorithm Selection]
ssl_conf = 35-TLS 1.3 Ed25519 Signature Algorithm Selection-ssl
[33-TLS 1.3 Ed25519 Signature Algorithm Selection-ssl]
server = 33-TLS 1.3 Ed25519 Signature Algorithm Selection-server
client = 33-TLS 1.3 Ed25519 Signature Algorithm Selection-client
[35-TLS 1.3 Ed25519 Signature Algorithm Selection-ssl]
server = 35-TLS 1.3 Ed25519 Signature Algorithm Selection-server
client = 35-TLS 1.3 Ed25519 Signature Algorithm Selection-client
[33-TLS 1.3 Ed25519 Signature Algorithm Selection-server]
[35-TLS 1.3 Ed25519 Signature Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -1128,13 +1197,13 @@ MaxProtocol = TLSv1.3
MinProtocol = TLSv1.3
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[33-TLS 1.3 Ed25519 Signature Algorithm Selection-client]
[35-TLS 1.3 Ed25519 Signature Algorithm Selection-client]
CipherString = DEFAULT
SignatureAlgorithms = ed25519
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-33]
[test-35]
ExpectedResult = Success
ExpectedServerCertType = Ed25519
ExpectedServerSignType = Ed25519
@@ -1142,14 +1211,14 @@ ExpectedServerSignType = Ed25519
# ===========================================================
[34-TLS 1.3 Ed448 Signature Algorithm Selection]
ssl_conf = 34-TLS 1.3 Ed448 Signature Algorithm Selection-ssl
[36-TLS 1.3 Ed448 Signature Algorithm Selection]
ssl_conf = 36-TLS 1.3 Ed448 Signature Algorithm Selection-ssl
[34-TLS 1.3 Ed448 Signature Algorithm Selection-ssl]
server = 34-TLS 1.3 Ed448 Signature Algorithm Selection-server
client = 34-TLS 1.3 Ed448 Signature Algorithm Selection-client
[36-TLS 1.3 Ed448 Signature Algorithm Selection-ssl]
server = 36-TLS 1.3 Ed448 Signature Algorithm Selection-server
client = 36-TLS 1.3 Ed448 Signature Algorithm Selection-client
[34-TLS 1.3 Ed448 Signature Algorithm Selection-server]
[36-TLS 1.3 Ed448 Signature Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -1162,13 +1231,13 @@ MaxProtocol = TLSv1.3
MinProtocol = TLSv1.3
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[34-TLS 1.3 Ed448 Signature Algorithm Selection-client]
[36-TLS 1.3 Ed448 Signature Algorithm Selection-client]
CipherString = DEFAULT
SignatureAlgorithms = ed448
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-34]
[test-36]
ExpectedResult = Success
ExpectedServerCertType = Ed448
ExpectedServerSignType = Ed448
@@ -1176,14 +1245,14 @@ ExpectedServerSignType = Ed448
# ===========================================================
[35-TLS 1.3 Ed25519 CipherString and Groups Selection]
ssl_conf = 35-TLS 1.3 Ed25519 CipherString and Groups Selection-ssl
[37-TLS 1.3 Ed25519 CipherString and Groups Selection]
ssl_conf = 37-TLS 1.3 Ed25519 CipherString and Groups Selection-ssl
[35-TLS 1.3 Ed25519 CipherString and Groups Selection-ssl]
server = 35-TLS 1.3 Ed25519 CipherString and Groups Selection-server
client = 35-TLS 1.3 Ed25519 CipherString and Groups Selection-client
[37-TLS 1.3 Ed25519 CipherString and Groups Selection-ssl]
server = 37-TLS 1.3 Ed25519 CipherString and Groups Selection-server
client = 37-TLS 1.3 Ed25519 CipherString and Groups Selection-client
[35-TLS 1.3 Ed25519 CipherString and Groups Selection-server]
[37-TLS 1.3 Ed25519 CipherString and Groups Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -1196,14 +1265,14 @@ MaxProtocol = TLSv1.3
MinProtocol = TLSv1.3
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[35-TLS 1.3 Ed25519 CipherString and Groups Selection-client]
[37-TLS 1.3 Ed25519 CipherString and Groups Selection-client]
CipherString = DEFAULT
Groups = X25519
SignatureAlgorithms = ECDSA+SHA256:ed25519
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-35]
[test-37]
ExpectedResult = Success
ExpectedServerCertType = P-256
ExpectedServerSignType = EC
@@ -1211,14 +1280,14 @@ ExpectedServerSignType = EC
# ===========================================================
[36-TLS 1.3 Ed448 CipherString and Groups Selection]
ssl_conf = 36-TLS 1.3 Ed448 CipherString and Groups Selection-ssl
[38-TLS 1.3 Ed448 CipherString and Groups Selection]
ssl_conf = 38-TLS 1.3 Ed448 CipherString and Groups Selection-ssl
[36-TLS 1.3 Ed448 CipherString and Groups Selection-ssl]
server = 36-TLS 1.3 Ed448 CipherString and Groups Selection-server
client = 36-TLS 1.3 Ed448 CipherString and Groups Selection-client
[38-TLS 1.3 Ed448 CipherString and Groups Selection-ssl]
server = 38-TLS 1.3 Ed448 CipherString and Groups Selection-server
client = 38-TLS 1.3 Ed448 CipherString and Groups Selection-client
[36-TLS 1.3 Ed448 CipherString and Groups Selection-server]
[38-TLS 1.3 Ed448 CipherString and Groups Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
@@ -1231,14 +1300,14 @@ MaxProtocol = TLSv1.3
MinProtocol = TLSv1.3
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[36-TLS 1.3 Ed448 CipherString and Groups Selection-client]
[38-TLS 1.3 Ed448 CipherString and Groups Selection-client]
CipherString = DEFAULT
Groups = X448
SignatureAlgorithms = ECDSA+SHA256:ed448
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-36]
[test-38]
ExpectedResult = Success
ExpectedServerCertType = P-256
ExpectedServerSignType = EC
@@ -1246,14 +1315,14 @@ ExpectedServerSignType = EC
# ===========================================================
[37-TLS 1.3 RSA Client Auth Signature Algorithm Selection]
ssl_conf = 37-TLS 1.3 RSA Client Auth Signature Algorithm Selection-ssl
[39-TLS 1.3 RSA Client Auth Signature Algorithm Selection]
ssl_conf = 39-TLS 1.3 RSA Client Auth Signature Algorithm Selection-ssl
[37-TLS 1.3 RSA Client Auth Signature Algorithm Selection-ssl]
server = 37-TLS 1.3 RSA Client Auth Signature Algorithm Selection-server
client = 37-TLS 1.3 RSA Client Auth Signature Algorithm Selection-client
[39-TLS 1.3 RSA Client Auth Signature Algorithm Selection-ssl]
server = 39-TLS 1.3 RSA Client Auth Signature Algorithm Selection-server
client = 39-TLS 1.3 RSA Client Auth Signature Algorithm Selection-client
[37-TLS 1.3 RSA Client Auth Signature Algorithm Selection-server]
[39-TLS 1.3 RSA Client Auth Signature Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ClientSignatureAlgorithms = PSS+SHA256
@@ -1261,80 +1330,7 @@ PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
VerifyMode = Require
[37-TLS 1.3 RSA Client Auth Signature Algorithm Selection-client]
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-client-chain.pem
ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-key.pem
MaxProtocol = TLSv1.3
MinProtocol = TLSv1.3
RSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
RSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-37]
ExpectedClientCANames = empty
ExpectedClientCertType = RSA
ExpectedClientSignHash = SHA256
ExpectedClientSignType = RSA-PSS
ExpectedResult = Success
# ===========================================================
[38-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names]
ssl_conf = 38-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-ssl
[38-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-ssl]
server = 38-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-server
client = 38-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-client
[38-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ClientSignatureAlgorithms = PSS+SHA256
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
VerifyMode = Require
[38-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-client]
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-client-chain.pem
ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-key.pem
MaxProtocol = TLSv1.3
MinProtocol = TLSv1.3
RSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
RSA.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
ExpectedClientSignHash = SHA256
ExpectedClientSignType = RSA-PSS
ExpectedResult = Success
# ===========================================================
[39-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection]
ssl_conf = 39-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-ssl
[39-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-ssl]
server = 39-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-server
client = 39-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-client
[39-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ClientSignatureAlgorithms = ECDSA+SHA256
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
VerifyMode = Require
[39-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-client]
[39-TLS 1.3 RSA Client Auth Signature Algorithm Selection-client]
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-client-chain.pem
ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-key.pem
@@ -1346,6 +1342,79 @@ VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-39]
ExpectedClientCANames = empty
ExpectedClientCertType = RSA
ExpectedClientSignHash = SHA256
ExpectedClientSignType = RSA-PSS
ExpectedResult = Success
# ===========================================================
[40-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names]
ssl_conf = 40-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-ssl
[40-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-ssl]
server = 40-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-server
client = 40-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-client
[40-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ClientSignatureAlgorithms = PSS+SHA256
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
VerifyMode = Require
[40-TLS 1.3 RSA Client Auth Signature Algorithm Selection non-empty CA Names-client]
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-client-chain.pem
ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-key.pem
MaxProtocol = TLSv1.3
MinProtocol = TLSv1.3
RSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
RSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-40]
ExpectedClientCANames = ${ENV::TEST_CERTS_DIR}/root-cert.pem
ExpectedClientCertType = RSA
ExpectedClientSignHash = SHA256
ExpectedClientSignType = RSA-PSS
ExpectedResult = Success
# ===========================================================
[41-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection]
ssl_conf = 41-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-ssl
[41-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-ssl]
server = 41-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-server
client = 41-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-client
[41-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ClientSignatureAlgorithms = ECDSA+SHA256
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
VerifyMode = Require
[41-TLS 1.3 ECDSA Client Auth Signature Algorithm Selection-client]
CipherString = DEFAULT
ECDSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-client-chain.pem
ECDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-ecdsa-key.pem
MaxProtocol = TLSv1.3
MinProtocol = TLSv1.3
RSA.Certificate = ${ENV::TEST_CERTS_DIR}/ee-client-chain.pem
RSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/ee-key.pem
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-41]
ExpectedClientCertType = P-256
ExpectedClientSignHash = SHA256
ExpectedClientSignType = EC
@@ -1354,21 +1423,21 @@ ExpectedResult = Success
# ===========================================================
[40-TLS 1.3 Ed25519 Client Auth]
ssl_conf = 40-TLS 1.3 Ed25519 Client Auth-ssl
[42-TLS 1.3 Ed25519 Client Auth]
ssl_conf = 42-TLS 1.3 Ed25519 Client Auth-ssl
[40-TLS 1.3 Ed25519 Client Auth-ssl]
server = 40-TLS 1.3 Ed25519 Client Auth-server
client = 40-TLS 1.3 Ed25519 Client Auth-client
[42-TLS 1.3 Ed25519 Client Auth-ssl]
server = 42-TLS 1.3 Ed25519 Client Auth-server
client = 42-TLS 1.3 Ed25519 Client Auth-client
[40-TLS 1.3 Ed25519 Client Auth-server]
[42-TLS 1.3 Ed25519 Client Auth-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
[40-TLS 1.3 Ed25519 Client Auth-client]
[42-TLS 1.3 Ed25519 Client Auth-client]
CipherString = DEFAULT
EdDSA.Certificate = ${ENV::TEST_CERTS_DIR}/client-ed25519-cert.pem
EdDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/client-ed25519-key.pem
@@ -1377,7 +1446,7 @@ MinProtocol = TLSv1.3
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-40]
[test-42]
ExpectedClientCertType = Ed25519
ExpectedClientSignType = Ed25519
ExpectedResult = Success
@@ -1385,21 +1454,21 @@ ExpectedResult = Success
# ===========================================================
[41-TLS 1.3 Ed448 Client Auth]
ssl_conf = 41-TLS 1.3 Ed448 Client Auth-ssl
[43-TLS 1.3 Ed448 Client Auth]
ssl_conf = 43-TLS 1.3 Ed448 Client Auth-ssl
[41-TLS 1.3 Ed448 Client Auth-ssl]
server = 41-TLS 1.3 Ed448 Client Auth-server
client = 41-TLS 1.3 Ed448 Client Auth-client
[43-TLS 1.3 Ed448 Client Auth-ssl]
server = 43-TLS 1.3 Ed448 Client Auth-server
client = 43-TLS 1.3 Ed448 Client Auth-client
[41-TLS 1.3 Ed448 Client Auth-server]
[43-TLS 1.3 Ed448 Client Auth-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
[41-TLS 1.3 Ed448 Client Auth-client]
[43-TLS 1.3 Ed448 Client Auth-client]
CipherString = DEFAULT
EdDSA.Certificate = ${ENV::TEST_CERTS_DIR}/client-ed448-cert.pem
EdDSA.PrivateKey = ${ENV::TEST_CERTS_DIR}/client-ed448-key.pem
@@ -1408,7 +1477,7 @@ MinProtocol = TLSv1.3
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-41]
[test-43]
ExpectedClientCertType = Ed448
ExpectedClientSignType = Ed448
ExpectedResult = Success
@@ -1416,14 +1485,14 @@ ExpectedResult = Success
# ===========================================================
[42-TLS 1.2 DSA Certificate Test]
ssl_conf = 42-TLS 1.2 DSA Certificate Test-ssl
[44-TLS 1.2 DSA Certificate Test]
ssl_conf = 44-TLS 1.2 DSA Certificate Test-ssl
[42-TLS 1.2 DSA Certificate Test-ssl]
server = 42-TLS 1.2 DSA Certificate Test-server
client = 42-TLS 1.2 DSA Certificate Test-client
[44-TLS 1.2 DSA Certificate Test-ssl]
server = 44-TLS 1.2 DSA Certificate Test-server
client = 44-TLS 1.2 DSA Certificate Test-client
[42-TLS 1.2 DSA Certificate Test-server]
[44-TLS 1.2 DSA Certificate Test-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = ALL
DHParameters = ${ENV::TEST_CERTS_DIR}/dhp2048.pem
@@ -1433,26 +1502,26 @@ MaxProtocol = TLSv1.2
MinProtocol = TLSv1.2
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[42-TLS 1.2 DSA Certificate Test-client]
[44-TLS 1.2 DSA Certificate Test-client]
CipherString = ALL
SignatureAlgorithms = DSA+SHA256:DSA+SHA1
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-42]
[test-44]
ExpectedResult = Success
# ===========================================================
[43-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms]
ssl_conf = 43-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-ssl
[45-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms]
ssl_conf = 45-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-ssl
[43-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-ssl]
server = 43-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-server
client = 43-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-client
[45-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-ssl]
server = 45-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-server
client = 45-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-client
[43-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-server]
[45-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = DEFAULT
ClientSignatureAlgorithms = ECDSA+SHA1:DSA+SHA256:RSA+SHA256
@@ -1460,25 +1529,25 @@ PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
VerifyMode = Request
[43-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-client]
[45-TLS 1.3 Client Auth No TLS 1.3 Signature Algorithms-client]
CipherString = DEFAULT
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-43]
[test-45]
ExpectedResult = ServerFail
# ===========================================================
[44-TLS 1.3 DSA Certificate Test]
ssl_conf = 44-TLS 1.3 DSA Certificate Test-ssl
[46-TLS 1.3 DSA Certificate Test]
ssl_conf = 46-TLS 1.3 DSA Certificate Test-ssl
[44-TLS 1.3 DSA Certificate Test-ssl]
server = 44-TLS 1.3 DSA Certificate Test-server
client = 44-TLS 1.3 DSA Certificate Test-client
[46-TLS 1.3 DSA Certificate Test-ssl]
server = 46-TLS 1.3 DSA Certificate Test-server
client = 46-TLS 1.3 DSA Certificate Test-client
[44-TLS 1.3 DSA Certificate Test-server]
[46-TLS 1.3 DSA Certificate Test-server]
Certificate = ${ENV::TEST_CERTS_DIR}/servercert.pem
CipherString = ALL
DSA.Certificate = ${ENV::TEST_CERTS_DIR}/server-dsa-cert.pem
@@ -1487,13 +1556,13 @@ MaxProtocol = TLSv1.3
MinProtocol = TLSv1.3
PrivateKey = ${ENV::TEST_CERTS_DIR}/serverkey.pem
[44-TLS 1.3 DSA Certificate Test-client]
[46-TLS 1.3 DSA Certificate Test-client]
CipherString = ALL
SignatureAlgorithms = DSA+SHA1:DSA+SHA256:ECDSA+SHA256
VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
VerifyMode = Peer
[test-44]
[test-46]
ExpectedResult = ServerFail
+49 -1
View File
@@ -53,6 +53,50 @@ our @tests = (
"ExpectedResult" => "Success"
},
},
{
name => "ECDSA CipherString Selection",
server => {
"ECDSA.Certificate" => test_pem("server-ecdsa-cert.pem"),
"ECDSA.PrivateKey" => test_pem("server-ecdsa-key.pem"),
"MaxProtocol" => "TLSv1.2",
#Deliberately set supported_groups to one not in the cert. This
#should be tolerated
"Groups" => "P-384"
},
client => {
"CipherString" => "aECDSA",
"MaxProtocol" => "TLSv1.2",
"Groups" => "P-256:P-384",
"RequestCAFile" => test_pem("root-cert.pem"),
},
test => {
"ExpectedServerCertType" =>, "P-256",
"ExpectedServerSignType" =>, "EC",
# Note: certificate_authorities not sent for TLS < 1.3
"ExpectedServerCANames" =>, "empty",
"ExpectedResult" => "Success"
},
},
{
name => "ECDSA CipherString Selection",
server => {
"ECDSA.Certificate" => test_pem("server-ecdsa-cert.pem"),
"ECDSA.PrivateKey" => test_pem("server-ecdsa-key.pem"),
"MaxProtocol" => "TLSv1.2",
"Groups" => "P-256:P-384"
},
client => {
"CipherString" => "aECDSA",
"MaxProtocol" => "TLSv1.2",
#Deliberately set groups to not include the certificate group. This
#should fail
"Groups" => "P-384",
"RequestCAFile" => test_pem("root-cert.pem"),
},
test => {
"ExpectedResult" => "ServerFail"
},
},
{
name => "Ed25519 CipherString and Signature Algorithm Selection",
server => $server,
@@ -467,7 +511,11 @@ my @tests_tls_1_3 = (
"SignatureAlgorithms" => "ECDSA+SHA256",
},
test => {
"ExpectedResult" => "ServerFail"
"ExpectedServerCertType" => "P-256",
"ExpectedServerSignHash" => "SHA256",
"ExpectedServerSignType" => "EC",
"ExpectedServerCANames" => "empty",
"ExpectedResult" => "Success"
},
},
{
+3 -1
View File
@@ -1,5 +1,5 @@
# -*- mode: perl; -*-
# Copyright 2016-2016 The OpenSSL Project Authors. All Rights Reserved.
# Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
@@ -137,6 +137,7 @@ sub generate_version_tests {
"client" => {
#Offering only <=TLSv1.2 ciphersuites with TLSv1.3 should fail
"CipherString" => "AES128-SHA",
"Ciphersuites" => "",
},
"server" => {
"MaxProtocol" => "TLSv1.2"
@@ -154,6 +155,7 @@ sub generate_version_tests {
"server" => {
#Allowing only <=TLSv1.2 ciphersuites with TLSv1.3 should fail
"CipherString" => "AES128-SHA",
"Ciphersuites" => "",
},
"test" => {
"ExpectedResult" => "ServerFail",