Fixed keystore password

That's what you get for getting the code from at least 3 different stack overflow threads
This commit is contained in:
Norbi Peti 2017-06-06 07:57:49 +02:00 committed by GitHub
parent 33bf2286e9
commit ee57821c87

View file

@ -42,7 +42,7 @@ public class ButtonWebsiteModule extends JavaPlugin {
String certfile = "domain-chain.crt"; /* your cert path */ String certfile = "domain-chain.crt"; /* your cert path */
File keystoreFile = new File("keystore.keystore"); File keystoreFile = new File("keystore.keystore");
ks.load(keystoreFile.exists() ? new FileInputStream(keystoreFile) : null, "somepass".toCharArray()); ks.load(keystoreFile.exists() ? new FileInputStream(keystoreFile) : null, password);
String alias = "chroma"; String alias = "chroma";