MuleSoft · Salesforce Connector
SALESFORCE:MUTUAL_AUTHENTICATION_FAILED
Short answer
SALESFORCE:MUTUAL_AUTHENTICATION_FAILED means mutual TLS authentication with Salesforce failed. Check the certificate and key the connector presents, using SSL debug logging to see the handshake.
VerifiedLast verified
01Error text
Error type: SALESFORCE:MUTUAL_AUTHENTICATION_FAILED02Likely causes
- The mutual authentication failed.
03How to fix it
- Check the keystore and TLS settings on the Salesforce connector configuration.
- Add the VM argument
-M-Djavax.net.debug=ssl:handshaketo see the handshake. It affects performance, so remove it afterward. - Turn on verbose logging: in
log4j2.xmladd<AsyncLogger name="org.mule.extension.salesforce" level="DEBUG"/>inside<Loggers>. Turn it off after troubleshooting. - Handle the failure with an error handler of type
SALESFORCE:MUTUAL_AUTHENTICATION_FAILED.
04Official documentation
→Related errors
- SALESFORCE:CONNECTIVITYSALESFORCE:CONNECTIVITY means a connection to Salesforce could not be established. Review the connector configuration and the reconnection strategy.
- HTTP:SECURITYHTTP:SECURITY means the authentication of the HTTP requester failed. Check the authentication settings and credentials on the HTTP Request configuration.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for MuleSoft work:Open MuleSoft jobsMuleSoft rates and salariesHire a senior MuleSoft developer