We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1244d11 commit e7cc108Copy full SHA for e7cc108
1 file changed
src/test/java/io/socket/client/SSLConnectionTest.java
@@ -58,7 +58,7 @@ SSLContext createSSLContext() throws GeneralSecurityException, IOException {
58
TrustManagerFactory tmf = TrustManagerFactory.getInstance("SunX509");
59
tmf.init(ks);
60
61
- SSLContext sslContext = SSLContext.getInstance("TLS");
+ SSLContext sslContext = SSLContext.getInstance("TLSv1");
62
sslContext.init(kmf.getKeyManagers(), tmf.getTrustManagers(), null);
63
return sslContext;
64
}
0 commit comments