mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-29 13:17:21 +00:00
Disable SNI for the HTTPS server
This commit is contained in:
parent
9eddd87095
commit
80dabd08d3
@ -101,6 +101,7 @@ public final class HttpServer {
|
|||||||
try {
|
try {
|
||||||
sslContextFactory.setKeyStorePath(keystoreFile.getPath());
|
sslContextFactory.setKeyStorePath(keystoreFile.getPath());
|
||||||
sslContextFactory.setKeyStorePassword("123456");
|
sslContextFactory.setKeyStorePassword("123456");
|
||||||
|
sslContextFactory.setSniRequired(false);
|
||||||
|
|
||||||
Grasscutter.getLogger().warn(translate("messages.dispatch.keystore.default_password"));
|
Grasscutter.getLogger().warn(translate("messages.dispatch.keystore.default_password"));
|
||||||
} catch (Exception exception) {
|
} catch (Exception exception) {
|
||||||
|
Loading…
Reference in New Issue
Block a user