惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

大猫的无限游戏
大猫的无限游戏
J
Java Code Geeks
小众软件
小众软件
D
Docker
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
V
V2EX
博客园 - 叶小钗
GbyAI
GbyAI
Microsoft Azure Blog
Microsoft Azure Blog
Stack Overflow Blog
Stack Overflow Blog
B
Blog RSS Feed
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
IT之家
IT之家
博客园 - 司徒正美
M
MIT News - Artificial intelligence
T
The Blog of Author Tim Ferriss
The GitHub Blog
The GitHub Blog
罗磊的独立博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
L
LangChain Blog
阮一峰的网络日志
阮一峰的网络日志
C
Check Point Blog

博客园 - simadi

PostgreSQL安装设置 Avalonia程序部署在统信系统,内存一直增大 vue项目 重装依赖包 cursor 更改项目typescript版本 nodejs项目,新建表步骤 Zig 语言 使用NVM安装node 我的iis10里有很多网站,现在要迁移到另一个服务器,怎么做最简单方便 Browser Harness MQTT测试工具 从华为手机导出照片到Win11 emoji大全 Sqlite“无法加载 DLL“e_sqlite3”: 找不到指定的模块”解决方法 Edge安装EPUB阅读器 curl,wget,HTTPie PowerShell Winget Windows 包管理器 Windows11 升级到25H2 ai+.net postgresql System.Text.Json windows 精简版 Windows X-Lite Visual Studio 2026 新建Avalonia项目选这个,第一个会新建两个项目 隆重推出免费工具FdyRegulator1.0 Visual Studio 2026 新建axaml编码是gbk 中文运行乱码 ffmpeg 下载地址 elasticsearch + .net 开发使用的第三方库 Avalonia 开源项目,学习用 吉他自学笔记
c# 请求https网站失败
simadi · 2026-03-12 · via 博客园 - simadi

自己写了个小程序,在Win11下访问正常,windows 2022 上 访问https网站,

错误信息如下

System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: Authentication failed because the remote party sent a TLS alert: 'HandshakeFailure'.
---> System.ComponentModel.Win32Exception (0x80090326): 接收到的消息异常,或格式不正确。

但是用浏览器,apipost和postman访问正常,因为是这些程序本身有一套加密,而c#程序依赖系统

 说是系统问题,需要安装补丁

https://www.catalog.update.microsoft.com/Search.aspx?q=KB5020436

e8d76a5f484b8e58cadd37806b94e039

 安装错误

最后原因可能是网站原因,改用其他域名解决了

sslscan工具

https://github.com/rbsec/sslscan/releases/tag/2.2.1

下载后cmd里运行 sslscan --tlsall www.syd.com.cn:443

结果如下

image

 Version: 2.2.1 Windows 64-bit (Mingw)

OpenSSL 3.5.0 8 Apr 2025

Connected to 124.95.179.4

Testing SSL server www.syd.com.cn on port 443 using SNI name www.syd.com.cn

SSL/TLS Protocols:
TLSv1.0 disabled
TLSv1.1 disabled
TLSv1.2 enabled
TLSv1.3 enabled

TLS Fallback SCSV:
Server supports TLS Fallback SCSV

TLS renegotiation:
Session renegotiation not supported

TLS Compression:
Compression disabled

Heartbleed:
TLSv1.3 not vulnerable to heartbleed
TLSv1.2 not vulnerable to heartbleed

Supported Server Cipher(s):
Preferred TLSv1.3 128 bits TLS_AES_128_GCM_SHA256 Curve 25519 DHE 253
Accepted TLSv1.3 256 bits TLS_AES_256_GCM_SHA384 Curve 25519 DHE 253
Accepted TLSv1.3 256 bits TLS_CHACHA20_POLY1305_SHA256 Curve 25519 DHE 253
Preferred TLSv1.2 256 bits ECDHE-RSA-AES256-GCM-SHA384 Curve 25519 DHE 253
Accepted TLSv1.2 256 bits ECDHE-RSA-CHACHA20-POLY1305 Curve 25519 DHE 253
Accepted TLSv1.2 128 bits ECDHE-RSA-AES128-GCM-SHA256 Curve 25519 DHE 253

Server Key Exchange Group(s):
TLSv1.3 128 bits secp256r1 (NIST P-256)
TLSv1.3 192 bits secp384r1 (NIST P-384)
TLSv1.3 260 bits secp521r1 (NIST P-521)
TLSv1.3 128 bits x25519
TLSv1.3 224 bits x448
TLSv1.2 128 bits secp256r1 (NIST P-256)
TLSv1.2 192 bits secp384r1 (NIST P-384)
TLSv1.2 260 bits secp521r1 (NIST P-521)
TLSv1.2 128 bits x25519
TLSv1.2 224 bits x448

SSL Certificate:
Signature Algorithm: sha256WithRSAEncryption
RSA Key Strength: 2048

Subject: *.syd.com.cn
Altnames: DNS:*.syd.com.cn, DNS:www.syd.cn, DNS:syd.com.cn
Issuer: CFCA OV OCA

Not valid before: Jan 5 05:53:11 2026 GMT
Not valid after: Jan 23 05:53:10 2027 GMT