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)
camel:
# To enable global SSL in undertow
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.
It seems I am missing a step somewhere?
Assistance appreciated.