http://www.sufeinet.com/plugin.php?id=keke_group

苏飞论坛

 找回密码
 马上注册

QQ登录

只需一步,快速开始

分布式系统框架(V2.0) 轻松承载百亿数据,千万流量!讨论专区 - 源码下载 - 官方教程

HttpHelper爬虫框架(V2.7-含.netcore) HttpHelper官方出品,爬虫框架讨论区 - 源码下载 - 在线测试和代码生成

HttpHelper爬虫类(V2.0) 开源的爬虫类,支持多种模式和属性 源码 - 代码生成器 - 讨论区 - 教程- 例子

123
返回列表 发新帖
楼主: twangel

[HttpHelper] post到https未能创建 SSL/TLS 安全通道

[复制链接]
发表于 2017-12-12 09:42:15 | 显示全部楼层
详情看看上面的说明,应该还是遗漏了配置。.net有关的话也最多是版本问题,但你的问题显然不是版本问题


1. 开通SVIP会员,免费下载本站所有源码,不限次数据,不限时间
2. 加官方QQ群,加官方微信群获取更多资源和帮助
3. 找站长苏飞做网站、商城、CRM、小程序、App、爬虫相关、项目外包等点这里
 楼主| 发表于 2017-12-12 21:34:22 | 显示全部楼层
站长苏飞 发表于 2017-12-12 09:42
详情看看上面的说明,应该还是遗漏了配置。.net有关的话也最多是版本问题,但你的问题显然不是版本问题

无语了,按上面的配上注册表这些值,还是同样的错误,实在是不知道问题在哪了
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\SSL 2.0\Client]
"DisabledByDefault"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client]
"DisabledByDefault"=dword:00000000
"Enabled"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Server]
"DisabledByDefault"=dword:00000000
"Enabled"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client]
"DisabledByDefault"=dword:00000000
"Enabled"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server]
"DisabledByDefault"=dword:00000000
"Enabled"=dword:00000001
发表于 2017-12-13 08:33:57 | 显示全部楼层
我刚详细看了一下你的代码 不对啊,你ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;不要单独写要用我的属性,有这个属性,另外,证书的方法也不需要写,直接写上路径就行了,也有同样的属性的。
发表于 2017-12-13 09:09:39 | 显示全部楼层
下载一下最新版本试试。我刚更新了一下。
发表于 2017-12-29 01:50:59 | 显示全部楼层
楼主解决没有?我也出现这个问题了,再一台电脑使用正常,到了另一台电脑,就出现这个提示
您需要登录后才可以回帖 登录 | 马上注册

本版积分规则

QQ|手机版|小黑屋|手机版|联系我们|关于我们|广告合作|苏飞论坛 ( 豫ICP备18043678号-2)

GMT+8, 2024-4-19 15:47

© 2014-2021

快速回复 返回顶部 返回列表