Switched frmo TLSv1 to TLSv1.2 refs #18556
This commit is contained in:
parent
6ea1ce9eb6
commit
8fd1bbf4f4
|
@ -69,8 +69,8 @@ public class GXWebTargetAdapterRequest implements GXHTTP<Entity<?>,GXInboundResp
|
|||
Client client = ClientBuilder.newClient();
|
||||
if (withHTTPS) {
|
||||
try {
|
||||
SSLContext sc = SSLContext.getInstance("TLSv1");
|
||||
System.setProperty("https.protocols", "TLSv1");
|
||||
SSLContext sc = SSLContext.getInstance("TLSv1.2");
|
||||
// System.setProperty("https.protocols", "TLSv1.2");
|
||||
TrustManager[] certs = new TrustManager[] { new X509TrustManager() {
|
||||
@Override
|
||||
public X509Certificate[] getAcceptedIssuers() {
|
||||
|
|
Loading…
Reference in New Issue