Using Dot Net Core to login RTH "The remote certificate is invalid according to the validation pr...

...ocedure"

Hi team,


I'm using .NET Core to login RTH with IP 164.57.211.94 (cannot access *.reuters.com due to ISP network limitation), not the .NET Framework. It prompted "The remote certificate is invalid according to the validation procedure". Actually it will be OK if I use .NET Framework and add the ServicePointManager.ServerCertificateValidationCallback += (o, c, ch, er) => true;. But it does not work for .NET Core (e.g., https://stackoverflow.com/questions/38138952/bypass-invalid-ssl-certificate-in-net-core).

How to overcome this? As my main project is based on .NET Core.


image

Best Answer