In my sandbox I consume a webservice which needs a self signed certificate
WS_SGDil.ServiceSoap ws = new WS_SGDil.ServiceSoap();
ws.clientCertName_x = 'API_Client_Certificate';
return ws;
In the same sandbox I have this certificate [![picture of certificate][1]][1]
Now when I callout the webservice I receive this exception
System.CalloutException: Web service callout failed: Could not find client cert with dev name: 'API_Client_Certificate' specified in clientCertName_x
Any idea ? Thanks in advance
Edit : Forgot to add, I have the same call and certificate in another sandbox (for the testers). There it works. It's when I'm trying it on my dev sandbox (!= sandbox of the testers) that it fails. [1]: https://i.sstatic.net/MmdUe.png