From 234fa274c4e364da43793aec2898069ee543c3e6 Mon Sep 17 00:00:00 2001 From: ChrisC Date: Tue, 23 Jun 2020 13:50:01 +0200 Subject: Fix Security Vulnerability Fix Sonar Major by switching to better protocol Issue-ID: SDC-3116 Signed-off-by: ChrisC Change-Id: I9f5d8640c991ae895a41dadf67a11872952fe38a --- .../openecomp/core/nosqldb/impl/cassandra/CassandraSessionFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openecomp-be/lib') diff --git a/openecomp-be/lib/openecomp-core-lib/openecomp-nosqldb-lib/openecomp-nosqldb-core/src/main/java/org/openecomp/core/nosqldb/impl/cassandra/CassandraSessionFactory.java b/openecomp-be/lib/openecomp-core-lib/openecomp-nosqldb-lib/openecomp-nosqldb-core/src/main/java/org/openecomp/core/nosqldb/impl/cassandra/CassandraSessionFactory.java index f0945a4da1..a507017888 100644 --- a/openecomp-be/lib/openecomp-core-lib/openecomp-nosqldb-lib/openecomp-nosqldb-core/src/main/java/org/openecomp/core/nosqldb/impl/cassandra/CassandraSessionFactory.java +++ b/openecomp-be/lib/openecomp-core-lib/openecomp-nosqldb-lib/openecomp-nosqldb-core/src/main/java/org/openecomp/core/nosqldb/impl/cassandra/CassandraSessionFactory.java @@ -149,7 +149,7 @@ public class CassandraSessionFactory { try (FileInputStream tsf = new FileInputStream(truststorePath)) { - SSLContext ctx = SSLContext.getInstance("SSL"); + SSLContext ctx = SSLContext.getInstance("TLS"); KeyStore ts = KeyStore.getInstance("JKS"); ts.load(tsf, trustStorePassword.toCharArray()); -- cgit 1.2.3-korg