加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – 修复替换的OpenSSL安装

发布时间:2020-12-14 02:49:30 所属栏目:Linux 来源:网络整理
导读:我以前用openssl10替换了我的centos盒子上的openssl,使用类似 these instructions的东西: rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/... ...x86_64/ius-release-1.0-11.ius.centos6.noarch.rpmyum install yum-plugin-replace# Edit /e
我以前用openssl10替换了我的centos盒子上的openssl,使用类似 these instructions的东西:
rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/...
     ...x86_64/ius-release-1.0-11.ius.centos6.noarch.rpm
yum install yum-plugin-replace
# Edit /etc/yum.repos.d/ius-archive.repo and 
# enable the ius-archive repo by changing enabled=0 to enabled=1.
yum replace openssl --replace-with openssl10

然后,当我做一般的yum更新时,由于openssl我得到错误,所以我改为:

yum update -x openssl -x postfix

这似乎工作正常,但实际上,我不能再通过ssh重新连接到框:

me@local $ssh -S none root@the_server
ssh_exchange_identification: Connection closed by remote host

关于如何从这种情况中恢复的任何想法?

编辑:
当我在服务器上运行sshd(我仍然有一个打开的连接)时,我收到以下错误:

ssh: relocation error: ssh: symbol SSLeay_version,version OPENSSL_1.0.1 
    not defined in file libcrypto.so.10 with link time reference

解决方法

使用IUS存储库并使用它来替换openssl与openssl10然后尝试升级到CentOS 6.5时出现了一个错误.

基本上你要做的就是回到股票openssl – 现在无论如何在版本1.0.1:

yum replace openssl10 --replace-with openssl

现在不需要使用openssl10且不受支持.
这也是它仅在归档回购中可用的原因.

有关更多信息,请参阅:https://lists.launchpad.net/ius-community/msg00807.html和https://bugs.launchpad.net/ius/+bug/1034961/comments/60

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读