*I have no clue what I'm doing* #4
2 changed files with 6 additions and 1 deletions
|
@ -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";
|
||||
|
||||
|
|
|
@ -12,4 +12,9 @@ public class Response {
|
|||
this.content = content;
|
||||
this.exchange = exchange;
|
||||
}
|
||||
public Response(int code, String[] content, HttpExchange exchange) {
|
||||
this.code = code;
|
||||
this.content = String.join("", content);
|
||||
this.exchange = exchange;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue