I maintain a quite complex ASP.NET application (a customized NopCommerce 3.10).
It needs to connect to third-party servers through HTTPS on different scenarios. I am doing t
You could simply use the callback you mentioned (ServicePointManager.ServerCertificateValidationCallback) to implement a custom validation logic: you bypass the errors only if they come from that malicious server.