我正在努力使全局SSL配置正常工作。我在跑步 Spring引导中的Apache Camel。看来配置在 application.yml被忽略。未创建SSL上下文,并且 http组件将忽略use-global-ssl-context-parameter。
版本
- 春季启动:2.1.9版本
- Apache Camel:2.24.2
pom中包含的依赖项:
- camel-spring-boot
- camel-spring-boot-starter
- camel-http-starter
配置(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"
这是在一个干净的项目中创建的,该项目专门用于测试全局SSL 上下文创建。
似乎我在某处缺少一步?
感谢协助。