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

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

    ./config --prefix=/usr --openssldir=/usr/local/openssl shared
    

    Try this config line instead to overwrite the default. It installs to prefix /usr/local/ssl by default in your setup when you leave off the prefix. You probably have "/usr/local/ssl/bin/openssl" instead of overwriting /usr/bin/openssl. You can also use /usr/local for prefix instead, but you would need to adjust your path accordingly if that is not already on your path. Here is the INSTALL documentation:

      $ ./config
      $ make
      $ make test
      $ make install
    
     [If any of these steps fails, see section Installation in Detail below.]
    
    This will build and install OpenSSL in the default location, which is (for
    historical reasons) /usr/local/ssl. If you want to install it anywhere else,
    run config like this:
    
      $ ./config --prefix=/usr/local --openssldir=/usr/local/openssl
    

    https://github.com/openssl/openssl/blob/master/INSTALL http://heartbleed.com/

提交回复
热议问题