Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.4.14, 5.1
-
None
Description
SSLContextBuilder always uses default getInstance() method to get the trust or key manager factory. Unlike SSLContext that supports having a provider explicitly specified.
Since there is no way to specify trust or key managers explicitly, the only way to make a desired trust manager load is to meddle with the security providers, which is not always desirable or possible.
So, it would be great if the SSL context builder allowed for either of:
- Use currently specified (using setProvider()) provider/provider name when loading trust/key managers
- Support specifying the provider for trust/key managers explicitly
- Support specifying trust managers or key managers explicitly