From 221b65d93232acf22427b2288b7b705cc0b47025 Mon Sep 17 00:00:00 2001 From: "Dr. Christoph \"Schorsch\" Jung" Date: Tue, 4 Jun 2024 13:08:29 +0200 Subject: [PATCH] fix: switch-off sni for kubernetes enbironments --- .../org/eclipse/tractusx/agents/aasbridge/AasBridge.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sparql-aas/src/main/java/org/eclipse/tractusx/agents/aasbridge/AasBridge.java b/sparql-aas/src/main/java/org/eclipse/tractusx/agents/aasbridge/AasBridge.java index 856bc4a..cfa0cd6 100644 --- a/sparql-aas/src/main/java/org/eclipse/tractusx/agents/aasbridge/AasBridge.java +++ b/sparql-aas/src/main/java/org/eclipse/tractusx/agents/aasbridge/AasBridge.java @@ -69,7 +69,12 @@ public static void main(String[] args) throws ConfigurationException, AssetConne mainLogger.debug("Built persistenceConfig {}", persistenceConfig); - HttpEndpointConfig httpConfig = HttpEndpointConfig.builder().cors(true).port(8080).build(); + HttpEndpointConfig httpConfig = HttpEndpointConfig + .builder() + .cors(true) + .port(8080) + .sni(false) + .build(); mainLogger.debug("Built httpConfig {}", httpConfig);