Tracing through the XMPPConnection code I get to executing line 1222 and immediately get an SSLHandshakeException.
ks = KeyStore.getInstance(configuration.getKeystoreType());
try {
ks.load(new FileInputStream(configuration.getKeystorePath()), pcb.getPassword()); //line 1222
pcb = new PasswordCallback("Keystore Password: ",false);
callbackHandler.handle(new Callback[]{pcb});
}
My keystore type is PKCS12 and the KeystoreParh points to …\sharyn.p12
At line 1222 pcb is null
Anyone know what is happening.