//https全局配置 ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, errors) => true;
ASP.NET MVC https全局配置
原文:https://www.cnblogs.com/gaobing/p/12061471.html