You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Frans (Jira)" <ji...@apache.org> on 2019/11/19 15:15:00 UTC
[jira] [Created] (CAMEL-14193) Apache Camel config in spring-boot
application.yml is not taking effect
Frans created CAMEL-14193:
-----------------------------
Summary: Apache Camel config in spring-boot application.yml is not taking effect
Key: CAMEL-14193
URL: https://issues.apache.org/jira/browse/CAMEL-14193
Project: Camel
Issue Type: Bug
Components: camel-spring-boot, camel-spring-boot-starters
Affects Versions: 2.24.2
Reporter: Frans
Attachments: apache-camel-demo.tar.xz
I am struggling to get the global SSL configuration to work. I am running Apache Camel within Spring boot. It seems the configuration in application.yml is ignored. The SSL context is not created and the use-global-ssl-context-parameter is ignored for http component.
Versions
* Spring-Boot: 2.1.9-RELEASE
* Apache Camel: 2.24.2
Dependencies included in pom:
* camel-spring-boot
* camel-spring-boot-starter
* camel-http-starter
Configs (application.yml)
{{}}
{code:java}
{code}
{{camel: }}
{{ component: http: }}
{{ use-global-ssl-context-parameters: true }}
{{ ssl: }}
{{ config: }}
{{ key-managers: }}
{{ key-password: "changeit" }}
{{ key-store: }}
{{ resource: "/keystore.p12" }}
{{ password: "changeit" }}
{{ type: "PKCS12" }}
{{ trust-managers: }}
{{ key-store: }}
{{ resource: "/cacerts" }}
{{ password: "changeit" }}
{{ type: "jks"}}
{{}}
{{}}
This is in a clean project created specifically to test the global SSL context creation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)