From 80dabd08d36b1732a2d3a3c19e6c3bffabb95ec4 Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Sat, 20 May 2023 17:23:11 -0400 Subject: [PATCH] Disable SNI for the HTTPS server --- src/main/java/emu/grasscutter/server/http/HttpServer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/emu/grasscutter/server/http/HttpServer.java b/src/main/java/emu/grasscutter/server/http/HttpServer.java index 7b02e61a6..1889e943e 100644 --- a/src/main/java/emu/grasscutter/server/http/HttpServer.java +++ b/src/main/java/emu/grasscutter/server/http/HttpServer.java @@ -101,6 +101,7 @@ public final class HttpServer { try { sslContextFactory.setKeyStorePath(keystoreFile.getPath()); sslContextFactory.setKeyStorePassword("123456"); + sslContextFactory.setSniRequired(false); Grasscutter.getLogger().warn(translate("messages.dispatch.keystore.default_password")); } catch (Exception exception) {