vb.net - 请求被中止无法创建 ssl/tls 安全通道,即使添加 tls 协议的代码也不起作用
问题描述
我正在尝试使用 vb 连接到 URL,添加代码:
ServicePointManager.Expect100Continue = True ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 或 SecurityProtocolType.Tls11 或 SecurityProtocolType.Ssl3
但仍然出现错误:“请求被中止,无法创建 ssl/tls 安全通道”还有哪些其他因素会导致这种情况?
解决方案
推荐阅读
- jquery - JQuery / Select2 width = 100% 在加载时创建“闪烁”,如何防止?
- excel - VBA - 结合两个工作表更改事件
- selenium - 当我使用 Selenium Python 进行 Web 自动化时,有没有办法确定文件在 Azure Databricks 中的下载位置?
- python - 合并k个排序数组的时间复杂度
- oracle - 如何使 PL/SQL 存储过程显示一个表?
- linux - 如何停止 Linux “xdg-open”或“gio open”启动 Atom 而不是文件管理器
- c# - 如何将 Unity 对象动作与 HoloLens 节目的音乐同步?
- rest - 使用 JSON-LD Vs 有什么明显的优势吗?JSON:REST端点的API?
- python - 将 kmeans 算法与 jupyter notebook 一起使用时出现蓝屏
- python - 使用SyncRNG在R和Python之间生成相同随机数时如何解决OverflowError