Commit bed31812 authored by memetrollsXD's avatar memetrollsXD
Browse files

Forgot the toCharArray

parent 2045dd28
......@@ -186,9 +186,9 @@ public final class DispatchServer {
} catch (Exception e) {
Grasscutter.getLogger().warn("[Dispatch] Unable to load keystore. Using default keystore password...");
KeyStore ks = KeyStore.getInstance("PKCS12");
ks.load(fis, "123456");
ks.load(fis, "123456".toCharArray());
KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
kmf.init(ks, "123456");
kmf.init(ks, "123456".toCharArray());
} catch (Exception e) {
Grasscutter.getLogger().warn("[Dispatch] Error while loading keystore!");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment