Issue
Can't use ELS or can't download/update CentOS 6 ELS due to SSL/TLS errors.
Environment
- CentOS 6
- ELS installation.
Solution
1. Download and update some packages on the server to allow modern SSL/TLS protocols:
cd /tmp
wget https://repo.cloudlinux.com/centos/6/updates/x86_64/Packages/nss-3.44.0-7.el6_10.x86_64.rpm
wget https://repo.cloudlinux.com/centos/6/updates/x86_64/Packages/nspr-4.21.0-1.el6_10.x86_64.rpm
wget https://repo.cloudlinux.com/centos/6/updates/x86_64/Packages/nss-softokn-3.44.0-5.el6_10.x86_64.rpm
wget https://repo.cloudlinux.com/centos/6/updates/x86_64/Packages/nss-util-3.44.0-1.el6_10.x86_64.rpm
wget https://repo.cloudlinux.com/centos/6/updates/x86_64/Packages/nss-softokn-freebl-3.44.0-5.el6_10.x86_64.rpm
wget https://repo.cloudlinux.com/centos/6/updates/x86_64/Packages/openssl-1.0.1e-58.el6_10.x86_64.rpm
wget https://repo.cloudlinux.com/centos/6/updates/x86_64/Packages/curl-7.19.7-54.el6_10.x86_64.rpm
wget https://repo.cloudlinux.com/centos/6/updates/x86_64/Packages/libcurl-7.19.7-54.el6_10.x86_64.rpm
wget https://vault.centos.org/6.10/updates/x86_64/Packages/ca-certificates-2020.2.41-65.1.el6_10.noarch.rpm --no-check-certificate
rpm -iU ca-certificates-2020.2.41-65.1.el6_10.noarch.rpm
2. Remove outdated versions of the aforementioned packages with this command:
rpm -e --justdb --nodeps package
Where the package is an outdated version of the component.
3. Install new versions of the packages with this command:
rpm -i package
Where the package is a downloaded early new version.
4. Perform the operations from the following article:
https://www.getpagespeed.com/server-setup/how-to-fix-yum-after-centos-6-went-eol
5. Update the server to the latest CentOS 6 release with yum update.
6. Reboot the server.
7. Install ELS / CloudLinux 6.
Cause
Outdated CentOS 6 release (before 6.10) and EOL which does not allow updating due to outdated OpenSSL and NSS packages.
Useful links
Comments
0 comments
Please sign in to leave a comment.