On 4/10/2014 6:23 AM, Dedhia, Pratik wrote:
Hi Team,

I’m trying to upgrade OpenSSL to 1.0.1g version from 1.0.1f version to
resolve security issue but getting error while restarting Apache server.

Below are the steps of OpenSSL upgradation:

1.Extracted the tarball downloaded from OpenSSL site using command “tar
xzvf openssl-1.0.1g.tar.gz”

2.Changed directory to openssl-1.0.1g

3.Executed “./config --prefix=/usr/local/application/openssl/
enable-shared –fPIC” command to compile openssl

4.Executed make clean command after successful execution of step 3

5.Executed make command

6.Executed make install command

7.Changed directory to extracted httpd-2.4.7

8.Executed “./configure --prefix=/usr/local/application/apache
--enable-rewrite --enable-proxy --enable-so
--with-ssl=/usr/local/application/openssl --enable-ssl
--with-pcre=/usr/local/application/pcre” to compile apache with upgraded
OpenSSL.

9.Executed make clean command after successful execution of step 8

10.Executed make command

11.Executed make install command

12.After successful execution of above step tried to stop the apache
with “sudo /usr/local/application/apache/bin/apachectl stop” command

On execution of step 12 getting below error:

httpd: Syntax error on line 125 of
/usr/local/application/apache/conf/httpd.conf: Cannot load
modules/mod_ssl.so into server: libssl.so.1.0.0: cannot open shared
object file: No such file or directory


"make install" (step 11) should have created that file
(libssl.so.1.0.0) in /usr/local/lib otherwise you don't have the fixed
code.

Please check that your user account has write access to /usr/local/lib,
or that make install was run as root (either should do it).


Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.  http://www.wisemo.com
Transformervej 29, 2730 Herlev, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to