You need to sign in to do that
Don't have an account?

Mutual Authentication Certificate not being found.
Apex code cannot find Mutual Authentication Certificate!
I have uploaded a CA-signed (Wells Fargo) Mutual Authentication Certificate (unique name "WFACHCert")to my Sandbox org. This is in a txt/pem format. Now, when I tried to set the certificate on an HttpRequest by doing:
HttpRequest req = new HttpRequest();
req.setClientCertificateName('WFACHCert');
I get the following exception thrown:
EXCEPTION: System.CalloutException: Could not find client cert with dev name: 'WFACHCert'
What am I doing wrong? Note that this certificate was generated from a CSR that was initiated outside of SFDC. By any chance, it is a requirement that CSRs for Mutual Authentication Certificates always be originated from within the SFDC environment? Thank you.
I have uploaded a CA-signed (Wells Fargo) Mutual Authentication Certificate (unique name "WFACHCert")to my Sandbox org. This is in a txt/pem format. Now, when I tried to set the certificate on an HttpRequest by doing:
HttpRequest req = new HttpRequest();
req.setClientCertificateName('WFACHCert');
I get the following exception thrown:
EXCEPTION: System.CalloutException: Could not find client cert with dev name: 'WFACHCert'
What am I doing wrong? Note that this certificate was generated from a CSR that was initiated outside of SFDC. By any chance, it is a requirement that CSRs for Mutual Authentication Certificates always be originated from within the SFDC environment? Thank you.
And see whether its correct or not
Select Id,DeveloperName,MasterLabel from Certificate