Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.1.1
-
None
-
ServiceMix deployed on Windows XP
Description
The problem is that ServiceMixSslSocketConnector extends SslSocketConnector, and it is providing its own data member and getter/setter for the trust store, named "trustStore". However, SslSocketConnector already declares a data member and getter/setter for the trust store, named "_truststore".
The bug is manifested in JettyContextManager.createServer(URL url, SslParameters ssl) method, when the "managed=true" is included in your SslParameters. The initialization of the ServiceMixSslSocketConnector calls "setTruststore" method which sets the "_truststore", eventually, there is a call to ServiceMixSslSocketConnector.createFactory() method, and in its implementation, it passes in the value of the "trustStore" that has never been set, instead of the value of "_truststore".
This bug is affecting the option of having a managed trust store for SSL.