diff options
author | Vitaly Takmazov | 2018-02-20 12:34:56 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-02-20 12:34:56 +0300 |
commit | 7b008a32def3c1202734b5e82f6887053071066a (patch) | |
tree | f84f52c20bcd2feb4daf9fa65c203766b835100d /juick-server/src | |
parent | c5d14e9ca835cda1a0cd5dfc85ad479c081f48c3 (diff) |
server: PKCS12 xmpp keystore
Diffstat (limited to 'juick-server/src')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/XMPPServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/server/XMPPServer.java b/juick-server/src/main/java/com/juick/server/XMPPServer.java index a75a7131..7562d265 100644 --- a/juick-server/src/main/java/com/juick/server/XMPPServer.java +++ b/juick-server/src/main/java/com/juick/server/XMPPServer.java @@ -107,7 +107,7 @@ public class XMPPServer implements ConnectionListener, AutoCloseable { @PostConstruct public void init() throws KeyStoreException { closeFlag.set(false); - KeyStore ks = KeyStore.getInstance("JKS"); + KeyStore ks = KeyStore.getInstance("PKCS12"); try (InputStream ksIs = new FileInputStream(keystore)) { ks.load(ksIs, keystorePassword.toCharArray()); KeyManagerFactory kmf = KeyManagerFactory.getInstance(KeyManagerFactory |