SSL enabled camel jaxrs route does not work in JBoss Fuse 6.1

Solution In Progress - Updated -

Issue

I have a camel jaxrs route:

<camelContext id="myJaxrsContext" xmlns="http://camel.apache.org/schema/blueprint">
    <route id="my-jaxrs-route">
        <from uri="cxfrs://bean://rsServer"/>
        <process ref="MyJaxRsProcessor"/>
        <to uri="cxfrs://bean://rsClient"/>
    </route>
</camelContext>

both camel jaxrs consumer and producer endpoints have SSL enabled in the blueprint configuration through <httpj:engine-factory> and <http:conduit>:

<cxf:rsServer id="rsServer"
              address="https://${server.host}:${server.port}/"
              serviceClass="xx.xx.xx.xx.MyService"
              loggingFeatureEnabled="true">
    <cxf:inInterceptors>
        <bean class="xx.xx.xx.xx.MySecurityInterceptor"/>
    </cxf:inInterceptors>
</cxf:rsServer>

<cxf:rsClient id="rsClient"
              address="https://${client.host}:${client.port}/"
              serviceClass="xx.xx.xx.xx.MyService"
              loggingFeatureEnabled="true"/>

Unfortunately, it does not work in JBoss Fuse 6.1 GA as it failed to find valid certification path with following error:

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Environment

  • JBoss Fuse
    • 6.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content