function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Prakash NawalePrakash Nawale 

clientCertPasswd_x

Hi Community,

We are building integration between Salesfoce and other system.

The other system has SOAP API to expose data and they implemented authication using certificates.

We genarateed class from WSDL. In the generated class system created three propeties clientCertName_x,clientCert_x and clientCertPasswd_x.

Steps we followed for Integration.

1. Created Self signed certificate in Salesforce Sandbox environment.
2. Downloaded Self signed certifation with .csr extension.
3. Sent that to third party and imported that in there system.

 We are sending certificate name in  clientCertName_x = 'abccertificate';

Then system throws error ""common.apex.runtime.impl.ExecutionException: Web service callout failed: WebService returned a SOAP Fault: An error occurred when verifying security for the message. faultcode=a:InvalidSecurity faultactor="|0x40aaa292"


Whenever we send clientCert_x from csr field then system throws error "System.CalloutException: Web service callout failed: clientCertPasswd_x can not be null"

I am not sure about the clientCertPasswd_x property. Can you please help me to resolve this issue.