From ee57821c87a3d90114271edf8d1bf9c3387b0c33 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Tue, 6 Jun 2017 07:57:49 +0200 Subject: [PATCH] Fixed keystore password That's what you get for getting the code from at least 3 different stack overflow threads --- src/buttondevteam/website/ButtonWebsiteModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buttondevteam/website/ButtonWebsiteModule.java b/src/buttondevteam/website/ButtonWebsiteModule.java index cd94f71..0cd56e5 100644 --- a/src/buttondevteam/website/ButtonWebsiteModule.java +++ b/src/buttondevteam/website/ButtonWebsiteModule.java @@ -42,7 +42,7 @@ public class ButtonWebsiteModule extends JavaPlugin { String certfile = "domain-chain.crt"; /* your cert path */ 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";