%20Cannot%20secure%20communications%20with%20peer%3A%20no%20common%20cryptoal%20algorithm(s).%E3%80%8D%E9%8C%AF%E8%AA%A4.png)
當我使用時rpm -import
,出現curl: (35) Cannot communicate securely with peer: no common encryption algorithm(s).
錯誤:
[root@localhost ~]# rpm -import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
curl: (35) Cannot communicate securely with peer: no common encryption algorithm(s).
Error:https://www.elrepo.org/RPM-GPG-KEY-elrepo.org: import read failed(2).
我的作業系統是 CentOS 7.5。
答案1
證書https://www.elrepo.org/不安全(不可信),因此 rpm 拒絕導入。如果您信任該站點,請將其下載到本機系統上,然後匯入。