Skip to main content
Commonmark migration
Source Link

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]picture of certificate

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

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

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

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.

Tweeted twitter.com/StackSalesforce/status/915137177591455745
More information
Source Link

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

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 [1]: https://i.sstatic.net/MmdUe.png

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

Source Link

WebService Certificate

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 [1]: https://i.sstatic.net/MmdUe.png