Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.7.15
-
None
-
Unknown
Description
When only certAlias is specified in tlsClientParameters with no keyManagers a NullPointerException is thrown regardless the keystore is specified using javax.net.ssl.keyStore system property or not.
In a use case I have I want my client to be able to specify a certAlias in configuration file but this is expected to be used only when the server actually requires client certificate and a keystore with the given alias is specified using javax.net.ssl.keyStore system property.
I'd like to specify tlsClientParameters like:
<http:tlsClientParameters disableCNCheck="${disableCNCheck}"> <sec:certAlias>${certAlias}</sec:certAlias> </http:tlsClientParameters>