Skip to content

Latest commit

 

History

History
66 lines (46 loc) · 1.57 KB

README.md

File metadata and controls

66 lines (46 loc) · 1.57 KB

OpenSSL rpm builder for CentOS 7 - build latest OpenSSL binary

GitHub last commit GitHub All Releases

Remove old versions

rpm -qa | grep openssl
rpm -e --justdb --nodeps <yourpackage>

OpenSSL 3.4.0:

Build:

sudo yum -y groupinstall 'Development Tools'
git clone https://github.com/philyuchkoff/openssl-RPM-Builder
cd openssl-RPM-Builder
chmod +x install-openssl_3.sh 
sudo ./install-openssl_3.sh

Builded RPM will be in

/root/rpmbuild/RPMS/x86_64/

After install-openssl_3.sh will finish, you can install builded rpm:

sudo rpm -ivvh /root/rpmbuild/RPMS/x86_64/openssl-3.4.0-1.el7.x86_64.rpm --nodeps

OpenSSL 1.1.1w:

OpenSSL 1.1.1 End of Life

Build:

sudo yum -y groupinstall 'Development Tools'
git clone https://github.com/philyuchkoff/openssl-RPM-Builder
cd openssl-RPM-Builder
chmod +x install-openssl_1.1.1.sh 
sudo ./install-openssl_1.1.1.sh

Builded RPM will be in

/root/rpmbuild/RPMS/x86_64/

After install-openssl_1.1.1.sh will finish, you can install builded rpm:

sudo rpm -ivvh /root/rpmbuild/RPMS/x86_64/openssl-1.1.1w-1.el7.x86_64.rpm --nodeps

Check:

$openssl version
OpenSSL 1.1.1w  11 Sep 2023

or

$rpm -qa openssl
openssl-1.1.1w-1.el7.x86_64