Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16232

Camel-http: component doesn't use system properties `javax.net.ssl.keyStorePassword` and `javax.net.ssl.keyStore` if parameter `useSystemPr0perties` is set to true

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.8.0
    • Fix Version/s: 3.9.0
    • Component/s: camel-http
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      If two-way ssl is used with camel-http component and ssl parameters are taken from sytem properties, connection fails.

       

      Reason is that  system properties `javax.net.ssl.keyStorePassword` and `javax.net.ssl.keyStore`are ignored.  Problem is caused by difference in https://github.com/apache/httpcomponents-core/blob/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContexts.java#L43 vs https://github.com/apache/httpcomponents-core/blob/4.4.x/httpcore/src/main/java/org/apache/http/ssl/SSLContexts.java#L62

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jondruse Jiri Ondrusek
                Reporter:
                jondruse Jiri Ondrusek
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: