Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
libtorrent ssl需要证书(可能)(Windows)_Ssl_Openssl_Bittorrent_Libtorrent_Monotorrent - Fatal编程技术网

libtorrent ssl需要证书(可能)(Windows)

libtorrent ssl需要证书(可能)(Windows),ssl,openssl,bittorrent,libtorrent,monotorrent,Ssl,Openssl,Bittorrent,Libtorrent,Monotorrent,我正在为一些客户开发一个使用libtorrent的项目,以及一个使用mono-torrent的开放式跟踪器 Pc1:使用mono torrent运行跟踪程序,该程序托管.torrent Pc2:运行lib torrent客户端,托管torrent中引用的内容,并具有.torrent,该文件通过传递签名证书、匹配私钥、dhparams和签名证书的密码添加到客户端。 Pc3:与Pc2相同,但不承载torrent引用的任何内容 torrent是使用CA证书和私钥创建的,私钥与签名证书所针对的CA相匹配

我正在为一些客户开发一个使用libtorrent的项目,以及一个使用mono-torrent的开放式跟踪器

Pc1:使用mono torrent运行跟踪程序,该程序托管.torrent Pc2:运行lib torrent客户端,托管torrent中引用的内容,并具有.torrent,该文件通过传递签名证书、匹配私钥、dhparams和签名证书的密码添加到客户端。 Pc3:与Pc2相同,但不承载torrent引用的任何内容

torrent是使用CA证书和私钥创建的,私钥与签名证书所针对的CA相匹配,使用openssl。没有错误。(这是在与其他3台电脑分开的Pc上完成的)

当我运行跟踪器时,我没有收到任何错误,只是它正在运行并跟踪torrent

当我运行客户端时,它会给我一个torrent need cert警报,然后我在torrent的句柄上设置\u ssl\u证书,然后继续,我会收到一个torrent\u错误\u警报,告诉我torrent不存在,最后它会将状态更改为检查,然后根据它是哪个客户端(上传程序或下载程序)进行种子设定/下载

问题是,客户端之间没有通信

我可以看到它们连接到了跟踪器,并且在正常端口和ssl端口上侦听,但是这两个客户端之间从来没有连接(使用TcpView)

当我使用或不使用管理员权限运行时没有区别

有经验的人,或者可能有正确方向的解决方案/指针

非常感谢