} catch (NoSuchAlgorithmException | SignatureException | KeyStoreException | CertificateException |
UnrecoverableKeyException | InvalidKeyException | IOException ex) {
LOGGER.error(ex.getMessage(), ex);
}
}
<BUG>private KeyStore loadKeystore(String keystorePath, char[] keystorePassword) throws KeyStoreException, CertificateException, NoSuchAlgorithmException, IOException {
InputStream keystoreStream = getClass().getResourceAsStream(keystorePath);</BUG>
KeyStore ks = KeyStore.getInstance("JCEKS");
ks.load(keystoreStream, keystorePassword);
return ks;

} catch (NoSuchAlgorithmException | SignatureException | KeyStoreException | CertificateException |
UnrecoverableKeyException | InvalidKeyException | IOException ex) {
LOGGER.error(ex.getMessage(), ex);
}
}
private KeyStore loadKeystore(String keystorePath, char[] keystorePassword) throws KeyStoreException,
CertificateException, NoSuchAlgorithmException, IOException {
InputStream keystoreStream = getClass().getResourceAsStream(keystorePath);
KeyStore ks = KeyStore.getInstance("JCEKS");
ks.load(keystoreStream, keystorePassword);
return ks;
