linux – 修复替换的OpenSSL安装

前端之家收集整理的这篇文章主要介绍了linux – 修复替换的OpenSSL安装前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我以前用openssl10替换了我的centos盒子上的openssl,使用类似 these instructions的东西: @H_403_2@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我得到错误,所以我改为:

@H_403_2@yum update -x openssl -x postfix

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

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

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

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

@H_403_2@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:

@H_403_2@yum replace openssl10 --replace-with openssl

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

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

原文链接:https://www.f2er.com/linux/396648.html

猜你在找的Linux相关文章