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
Rama Konda 15Rama Konda 15 

Web service callout failed - A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider

We are experiencing an issue when making a web service callout using a certificate (self-signed). The external system hosting this web service is Microsoft 2012 server with IIS.
The error message from the IIS log is "A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider" with error code 403.16

The error message received as a response to the call in SFDC is "Web service callout failed: Unexpected element. Parser was expecting element 'http://schemas.xmlsoap.org/soap/envelope/:Envelope' but found 'http://www.w3.org/1999/xhtml:html'"

Has anybody come across such issue ?
Rama Konda 15Rama Konda 15
The self-signed cerfiticate is installed in the Client Auhentication Issuers store. Tried it with Trusted Root Authorities store as well.
And it is installed in the Local computer
Shai FisherShai Fisher
I have the same issue, two orgs connecting to the same WS. one succeed and the other gets this message.