You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jiri Ondrusek (Jira)" <ji...@apache.org> on 2021/02/18 12:17:00 UTC

[jira] [Created] (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

Jiri Ondrusek created CAMEL-16232:
-------------------------------------

             Summary: Camel-http: component doesn't use system properties `javax.net.ssl.keyStorePassword` and `javax.net.ssl.keyStore` if parameter `useSystemPr0perties` is set to true
                 Key: CAMEL-16232
                 URL: https://issues.apache.org/jira/browse/CAMEL-16232
             Project: Camel
          Issue Type: Improvement
          Components: camel-http
    Affects Versions: 3.8.0
            Reporter: Jiri Ondrusek
            Assignee: Jiri Ondrusek


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]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)