The remote certificate is invalid according to the validation procedure.

Vinisha 1 Reputation point
2021-10-06T02:42:11.037+00:00

The remote certificate is invalid according to the validation procedure.

I am getting this error on the IIS server while making a web API call to external web service in C# and ASP.Net. if i run the code on my local Visual Studio, I am not getting that error and it works fine. I am not able to find why this error is being thrown, can somebody shed some light? thanks.

Windows development | Internet Information Services
Developer technologies | C#
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.