首页 > 解决方案 > 请求被中止无法创建 ssl/tls 安全通道,即使添加 tls 协议的代码也不起作用

问题描述

我正在尝试使用 vb 连接到 URL,添加代码:

ServicePointManager.Expect100Continue = True ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 或 SecurityProtocolType.Tls11 或 SecurityProtocolType.Ssl3

但仍然出现错误:“请求被中止,无法创建 ssl/tls 安全通道”还有哪些其他因素会导致这种情况?

标签: vb.netsecurityssl

解决方案


推荐阅读