Disable SNI for the HTTPS server

This commit is contained in:
KingRainbow44 2023-05-20 17:23:11 -04:00
parent 9eddd87095
commit 80dabd08d3
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE

View File

@ -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) {