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

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.8.0
    • 3.9.0
    • camel-http
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: