Skip to content

Commit 7b595d7

Browse files
authored
Merge pull request #1579 from marklogic/feature/cookbook-upgrade
Fixing warning in cookbook reported by Snyk
2 parents 5441932 + 2405dae commit 7b595d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/src/main/java/com/marklogic/client/example/cookbook/KerberosSSLClientCreator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public X509Certificate[] getAcceptedIssuers() {
6161
};
6262

6363
// create an SSL context
64-
SSLContext sslContext = SSLContext.getInstance("SSLv3");
64+
SSLContext sslContext = SSLContext.getInstance("TLSv1.2");
6565
sslContext.init(null, new TrustManager[] { naiveTrustMgr }, null);
6666

6767
// create the client

0 commit comments

Comments
 (0)