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

前端 未结 11 1404
刺人心
刺人心 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:47

    To manually compile OpenSSL, do as follows:

    $ cd /usr/src
    
    $ wget https://www.openssl.org/source/openssl-1.0.1g.tar.gz -O openssl-1.0.1g.tar.gz
    
    $ tar -zxf openssl-1.0.1g.tar.gz
    
    $ cd openssl-1.0.1g
    
    $ ./config
    
    $ make
    
    $ make test
    
    $ make install
    
    $ openssl version
    

    If it shows the old version, do the steps below.

    $ mv /usr/bin/openssl /root/
    
    $ ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl
    openssl version
    OpenSSL 1.0.1g 7 Apr 2014
    

    http://olaitanmayowa.com/heartbleed-how-to-upgrade-openssl-in-centos/

提交回复
热议问题