From 03552ba854243dd05de37f471dabeb5873f5e73c Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 4 Mar 2022 17:22:28 +0100 Subject: [PATCH] cid#1500542 swext: Wiki Publisher: "Insecure TLS version" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I4b481cae6c1e13d34ea5a6dc3ff35a3b03ee281a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131005 Reviewed-by: Caolán McNamara Reviewed-by: Michael Stahl Tested-by: Jenkins --- .../src/com/sun/star/wiki/WikiProtocolSocketFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java b/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java index 0990cf6a7bea..7ca94390dce4 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiProtocolSocketFactory.java @@ -93,7 +93,7 @@ class WikiProtocolSocketFactory extends SSLSocketFactory try { - SSLContext aContext = SSLContext.getInstance("SSL"); + SSLContext aContext = SSLContext.getInstance("TLSv1.2"); if ( aContext != null ) { aContext.init( null, pTrustUnknownCerts, null );