forked from gCubeSystem/gx-rest
Fix for Bug #18556, gxJRS: SSL protocol mismatch in production
This commit is contained in:
parent
e538b00c52
commit
2cb8acd620
|
@ -69,8 +69,7 @@ public class GXWebTargetAdapterRequest implements GXHTTP<Entity<?>,GXInboundResp
|
|||
Client client = ClientBuilder.newClient();
|
||||
if (withHTTPS) {
|
||||
try {
|
||||
SSLContext sc = SSLContext.getInstance("TLSv1.2");
|
||||
// System.setProperty("https.protocols", "TLSv1.2");
|
||||
SSLContext sc = SSLContext.getDefault();
|
||||
TrustManager[] certs = new TrustManager[] { new X509TrustManager() {
|
||||
@Override
|
||||
public X509Certificate[] getAcceptedIssuers() {
|
||||
|
|
Loading…
Reference in New Issue