进行https请求时发生以上错误,经过测试,在代码前加以下语句即可解决问题 ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;