Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When you assign a Truststore without a password the method ActiveMQSslConnectionFactory.createTrustManager throws a NullPointer exception in Line 135:
trustedCertStore.load(tsStream, trustStorePassword.toCharArray());
Please change the code to:
char[] password = null; if (trustStorePassword != null) { password = trustStorePassword.toCharArray(); } trustedCertStore.load(tsStream, password);