From b4d6730e5787647e87f465a380cd90733fb0496c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Jare=C5=A1?= <58428711+pj892031@users.noreply.github.com> Date: Wed, 3 Jan 2024 09:40:00 +0100 Subject: [PATCH] fix: Fix truststore for websockets in Spring Cloud Gateway (v2) (#3249) --- .../apiml/cloudgatewayservice/config/ConnectionsConfig.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cloud-gateway-service/src/main/java/org/zowe/apiml/cloudgatewayservice/config/ConnectionsConfig.java b/cloud-gateway-service/src/main/java/org/zowe/apiml/cloudgatewayservice/config/ConnectionsConfig.java index b7995bde5f..b09677d662 100644 --- a/cloud-gateway-service/src/main/java/org/zowe/apiml/cloudgatewayservice/config/ConnectionsConfig.java +++ b/cloud-gateway-service/src/main/java/org/zowe/apiml/cloudgatewayservice/config/ConnectionsConfig.java @@ -150,6 +150,8 @@ public void updateConfigParameters() { trustStorePath = SecurityUtils.formatKeyringUrl(trustStorePath); if (trustStorePassword == null) trustStorePassword = KEYRING_PASSWORD; } + + factory().setSystemSslProperties(); } public HttpsFactory factory() {