Skip to content

Commit 2b1a850

Browse files
authored
Merge pull request #1121 from quickfix-j/copilot/fix-ssl-certificate-test
Replace deprecated TLS cipher suite in `SSLCertificateTest`
2 parents 38f55bf + 2f524f9 commit 2b1a850

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

quickfixj-core/src/test/java/quickfix/mina/ssl/SSLCertificateTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,13 @@ public class SSLCertificateTest {
9191
"TLS_RSA_WITH_AES_256_GCM_SHA384",
9292
"TLS_RSA_WITH_AES_128_CBC_SHA256",
9393
"TLS_RSA_WITH_AES_256_CBC_SHA256",
94-
"TLS_RSA_WITH_AES_128_CBC_SHA",
95-
"TLS_RSA_WITH_AES_256_CBC_SHA",
9694
"TLS_AES_128_GCM_SHA256",
9795
"TLS_AES_256_GCM_SHA384"
9896
);
9997

10098
@Parameters
10199
public static List<Object[]> parameters() {
102-
return Arrays.asList(new String[][]{{"TLS_RSA_WITH_AES_128_CBC_SHA", "TLSv1.2"}, {"TLS_AES_256_GCM_SHA384", "TLSv1.3"}});
100+
return Arrays.asList(new String[][]{{"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", "TLSv1.2"}, {"TLS_AES_256_GCM_SHA384", "TLSv1.3"}});
103101
}
104102

105103
// Note: To diagnose cipher suite errors, run with -Djavax.net.debug=ssl:handshake

0 commit comments

Comments
 (0)