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

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

     [ https://issues.apache.org/jira/browse/CAMEL-16232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-16232:
--------------------------------
    Fix Version/s: 3.9.0

> 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
>            Priority: Major
>             Fix For: 3.9.0
>
>
> 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)