问题描述
我将Centos 7与OpenSSL 1.0.2k(openssl-1.0.2k-19.el7.x86_64.rpm)一起使用
我尝试通过以下方式升级到OpenSSL 1.1.1c:
yum install openssl11
主要安装:openssl11-1.1.1c-2.el7.x86_64.rpm和openssl11-libs-1.1.1c-2.el7.x86_64.rpm
它不会通过用openssl 1.1.1覆盖openssl 1.0.2进行升级,而是安装openssl11及其RPM以及现有的openssl版本。
当我尝试卸载openssl 1.0.2时,它会导致一些依赖项问题,这完全合情合理,因为openssl11提供openssl11而不是openssl:
openssl is needed by (installed) python2-cryptography-1.7.2-2.el7.x86_64
openssl is needed by (installed) pcs-0.9.162-5.el7.centos.x86_64
openssl is needed by (installed) rng-tools-6.3.1-3.el7.x86_64
/usr/bin/openssl is needed by (installed) authconfig-6.2.8-30.el7.x86_64
我该怎么做才能克服这个问题?
谢谢
解决方法
您不能卸载openssl 1.0.2,CentOS要求它并且您不能升级它,除非他们决定这样做(但是他们不会,您必须升级到CentOS 8)
如果需要,Openssl11可以在特定环境中“现场”使用。