1821057 Members
2505 Online
109631 Solutions
New Discussion

openssl with apache 2.2

 
Jomadar
Occasional Advisor

openssl with apache 2.2

Dear Experts,
I have installed apache 2.2 and realized later, that missed ssl. Since i want use https, i decided to reinstall apache with openssl. Openssl install looked to be successful, but apache complained about "no SSL-C headers found"
In openssl docs I have found this:
***
NOTE: The header files used to reside directly in the include
directory, but have now been moved to include/openssl so that
OpenSSL can co-exist with other libraries which use some of the
same filenames. This means that applications that use OpenSSL
should now use C preprocessor directives of the form

#include

instead of "#include ", which was used with library versions
up to OpenSSL 0.9.2b.

If you install a new version of OpenSSL over an old library version,
you should delete the old header files in the include directory.

Compatibility issues:

* COMPILING existing applications

To compile an application that uses old filenames -- e.g.
"#include " --, it will usually be enough to find
the CFLAGS definition in the application's Makefile and
add a C option such as

-I/usr/local/ssl/include/openssl

to it.

But don't delete the existing -I option that points to
the ..../include directory! Otherwise, OpenSSL header files
could not #include each other.
***

You can call me lama, but beg to let me understand what I should do to let apache use ssl. I tried to read Makefile of apache, but where i should insert that line?
Thanks for all help.

Jomadar
1 REPLY 1
Steven E. Protter
Exalted Contributor

Re: openssl with apache 2.2

Shalom,

I recommend you do as follows:

1) rpm -e apache-2.2
2) rpm -ivh apache-2.0.

Then restore your httpd.conf file and all files in /etc/httpd and you should be working with ssl properly as you did before.

Undboubtedly the new apache has a new way of working with openssl, which you will need to research at:
http://httpd.apache.org
http://www.openssl.org

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com