How to upgrade OpenSSL in CentOS 6.5 / Linux / Unix from source?

前端 未结 11 1373
刺人心
刺人心 2020-12-12 18:13

How do I upgrade OpenSSL in CentOS 6.5?

I have used these commands, but nothings happens:

 cd /usr/src
 wget http://www.openssl.org/source/openssl-1.         


        
11条回答
  •  囚心锁ツ
    2020-12-12 18:35

    My approach was:

    openssl version
    OpenSSL 1.0.1e 11 Feb 2013
    
    wget https://www.openssl.org/source/openssl-1.0.2a.tar.gz
    wget http://www.linuxfromscratch.org/patches/blfs/svn/openssl-1.0.2a-fix_parallel_build-1.patch
    tar xzf openssl-1.0.2a.tar.gz
    cd openssl-1.0.2a
    patch -Np1 -i ../openssl-1.0.2a-fix_parallel_build-1.patch
    ./config --prefix=/usr --openssldir=/etc/ssl --libdir=lib shared zlib-dynamic
    make
    make install
    
    openssl version
    OpenSSL 1.0.2a 19 Mar 2015 
    

提交回复
热议问题