Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-682

Should be possible to specify the provider for key manager/trust manager

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.4.14, 5.1
    • 5.2-alpha1
    • HttpCore
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            pveselov Pawel Veselov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1.5h
                1.5h