我正试图跟踪普华乘客CentOS/RHEL 7安装说明。我遇到了一个问题,HTTPS连接到乘客回购。
我能够为curl请求解决这个问题,通过向请求中添加--tlsv1来强制TLSv1来获得存储库定义。但是,我还不能对yum做同样的事情,因为它在以下消息中仍然失败:
failure: repodata/repomd.xml from passenger: [Errno 256] No more mirrors to try.
https://oss-binaries.phusionpassenger.com/yum/passenger/el/7/x86_64/repodata/repomd.xml:
[Errno 14] curl#35 - "TCP connection reset by peer"我尝试过用tlsv1添加一个tlsv1文件,但是yum似乎没有读取该文件,并且继续失败,同样的错误。
yum配置为始终使用TLSv1?curl和rpm下载和安装RPM包的公共URL,并完全绕过yum?yum连接的东西?我正在使用CentOS 7.0.1406和yum 3.4.3。更新: curl -V返回:
curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.28.4 zlib/1.2.7 libidn/1.28 libssh2/1.4.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets发布于 2017-10-19 18:59:22
问题似乎是一个过时的nss包。更新nss包起了作用:
sudo yum install nss之后,我用curl下载了yum定义,并用yum安装了mod_passenger包。
发布于 2017-10-11 19:23:17
Phusion刚刚解决了那个服务器的一个问题,你现在能再试一次吗?
https://stackoverflow.com/questions/46694890
复制相似问题