【发布时间】:2019-11-11 09:42:53
【问题描述】:
我遇到了 ssl 错误,所以我编写了一些代码来在 ssl 错误关闭后忽略 ssl 错误,现在它抛出新错误,例如远程服务器返回错误 (404) not found。在System.Net.HttpWebRequest.GetResponse()
ServicePointManager.ServerCertificateValidationCallback +=
new RemoteCertificateValidationCallback(ValidateServerCertificate);
WebResponse tResponse = tRequest.GetResponse();
请帮我关闭这个错误
【问题讨论】:
标签: c# asp.net-mvc firebase asp.net-web-api