问题描述
Aliyun.OSS.SDK.NetCore 2.13.0
阿里云oss刚开始测试正常,过了几天后上传突然就异常了,
System.AggregateException: One or more errors occurred. (The SSL connection could not be established, see inner exception.) —> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. —>
期望结果
能够正常上传OSS
已尝试的方法
private static bool ValidateServerCertificate(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)
{
return true;
}