Created
May 16, 2023 10:02
-
-
Save kedarvj/d59f0c3912954b0d66f5b2773361b001 to your computer and use it in GitHub Desktop.
Build / upgrade / Install OpenSSL 1.1.1 on CentOS 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install OpenSSL 1.1.1 on CentOS 7 | |
# Current version | |
[root@ip-172-31-63-168 ~]# openssl version | |
OpenSSL 1.0.2k-fips 26 Jan 2017 | |
Upgrade this to 1.1.1 on CentOS 7, follow the steps to build it from source: | |
yum install -y make gcc perl-core pcre-devel wget zlib-devel | |
wget https://ftp.openssl.org/source/openssl-1.1.1k.tar.gz | |
tar -xzvf openssl-1.1.1k.tar.gz | |
cd openssl-1.1.1k | |
./config --prefix=/usr --openssldir=/etc/ssl --libdir=lib no-shared zlib-dynamic | |
make | |
make test | |
make install | |
export LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64 | |
# Updated version | |
[root@ip-172-31-63-168 ~]# openssl version | |
OpenSSL 1.1.1k 25 Mar 2021 | |
[root@ip-172-31-63-168 ~]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment