camel-salesforce failing to connect when mutual authentication is enabled in SalesForce.
Issue
We use the Camel-SalesForce component to connect to SalesForce. In SalesForce we have enabled mutual authentication as per this documentation.
However at runtime, the initial login to SalesForce seem to succeed s per this logging output from Camel-SalesForce
19:26:45,165 | INFO | FelixStartLevel | SalesforceSession | 264 - org.apache.camel.camel-salesforce - 2.15.1.redhat-621084 | Login successful.
but any further operations fail with this caused by part:
Caused by: {message:'{errors:[{"errorCode":"MUTUAL_AUTHENTICATION_FAILED","message":"This session could not be mutually authenticated for use with the REST API"}],statusCode:403}',errors:[{"errorCode":"MUTUAL_AUTHENTICATION_FAILED","message":"This session could not be mutually authenticated for use with the REST API"}],statusCode:403}
Environment
- JBoss Fuse 6.2
- JBoss Fuse 6.3
- camel-salesforce
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
