Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14193

Apache Camel config in spring-boot application.yml is not taking effect

    XMLWordPrintableJSON

    Details

    • Estimated Complexity:
      Unknown

      Description

      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:
        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"

       

      I have attached a sample project setup as per documentation... i think...

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fransvn Frans
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: