[
https://issues.apache.org/jira/browse/CAMEL-16232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-16232.
---------------------------------
Resolution: Fixed
> 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)