classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view


Gerald Kallas -
Dear community,

while connecting to a salesforce instance I'm getting an error

java.lang.RuntimeException: org.apache.camel.component.salesforce.api.SalesforceException: Unexpected login error: PKIX path building failed: unable to find valid certification path to requested target

I'm assuming that I need to add the cert from the salesforce instance somewhere in the config ("keystore"?) but I'm missing the configuration and blueprint syntax details.

Any help is highly appreciated.

The route looks like

<blueprint xmlns=""

    <bean id="salesforce" class="org.apache.camel.component.salesforce.SalesforceComponent">
        <property name="loginConfig">
            <bean class="org.apache.camel.component.salesforce.SalesforceLoginConfig">
                <property name="loginUrl" value=""/>
                <property name="clientId" value="xxx"/>
                <property name="clientSecret" value="xxx"/>
                <property name="userName" value="xxx"/>
                <property name="password" value="xxx"/>
                <property name="lazyLogin" value="true"/>

    <camelContext id="salesforceTest" xmlns="" streamCache="true">
            <from uri="timer:test?repeatCount=1"/>
            <to uri="direct:salesforceTest"/>
            <from uri="direct:salesforceTest"/>
            <to uri="salesforce:limits"/>
            <log message="${body}"/>


Tx in advance
- Gerald