小编Thi*_*ard的帖子

dotnetcore 3.1 的 HttpClient 的 TLS1.2 添加密码套件

我在连接西部数据网站时遇到如下异常:

\n

西部数据网站

\n
22:02:34,803 |      HttpGrabber | DEBUG | Grabbing: GET https://shop.westerndigital.com/de-de/products/internal-drives/wd-red-sata-2-5-ssd#WDS200T1R0A\n22:02:34,858 |      HttpGrabber | DEBUG | System.Net.Http.SocketsHttpHandler.Http2Support: True\n22:02:34,865 |      HttpGrabber | DEBUG | System.Net.Http.UseSocketsHttpHandler: True\n22:02:35,067 |      HttpGrabber | ERROR | System.AggregateException: One or more errors occurred. (The SSL connection could not be established, see inner exception.)\n ---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.\n ---> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception.\n ---> System.ComponentModel.Win32Exception (0x80090326): Le message re\xc3\xa7u \xc3\xa9tait inattendu ou format\xc3\xa9 de fa\xc3\xa7on incorrecte.\n …
Run Code Online (Sandbox Code Playgroud)

c# ssl https webclient .net-core

7
推荐指数
2
解决办法
1万
查看次数

标签 统计

.net-core ×1

c# ×1

https ×1

ssl ×1

webclient ×1