Web Servers on Windows - Apache 2.0.54 mod_ssl

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Windows > May 2005 > Apache 2.0.54 mod_ssl





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Apache 2.0.54 mod_ssl
pmsimon@gmail.com

2005-05-01, 6:09 pm

Is it possible to build mod_ssl from win32 source then use it in the
win32 binary? I did this with the apache 2.0.49, but 2.0.54 isn't
working. When I start Apache2.0.54 with mod_ssl.so the server crashes.

Basically, what I did was - after building openssl-0.9.7g in srclib, I
successfully built mod_ssl:

C:\source\httpd-2.0.54\modules\ssl> nmake -f mod_ssl.mak

I copied C:\source\httpd-2.0.54\modules\ssl\Release\mod_ssl.so to
C:\Apache2binary\modules. I also copied
C:\source\httpd-2.0.54\srclib\openssl\libeay32.dll, ssleay32.dll, and
openssl.exe to C:\Apache2binary\bin.

When I started the ssl enabled win 32 binary server
(C:\Apache2binary\bin\apache.exe) it crashed. I got an error report
(nothing was logged in the error log) that says:

szAppName : Apache.exe szAppVer : 2.0.54.0 szModName :
mod_ssl.so
szModVer : 2.0.54.0 offset : 0000e0ee

If I build the entire apache server with win32 source then overwrite
C:\Apache2binary\bin\libapr.dll (125kb) with
C:\Build\Apache2.0.54\bin\libapr.dll (120kb) then everything works.

I'm using Visual Studio .Net 2003 on Windows XP professional.

It seems I'm not compiling mod_ssl correctly, or there's something
wrong with libapr.dll in 2.0.54 binary distribution.

Has anybody been able to get mod_ssl compiled for 2.0.54? Is there
something I'm missing? TIA

Michele Ouellet

2005-05-01, 6:09 pm


>
> Has anybody been able to get mod_ssl compiled for 2.0.54? Is there
> something I'm missing? TIA
>


Hi there,

I am not sure what is wrong with your setup and I am no expert.

But:

I did setup AWS 2.0.54 on Win2003 Server with ssl this week using the
excellent reference at:

http://www.thompsonbd.com/chris/tut.../apachessl.html

I got a binary Apache distribution from an Apache mirror and got that up and
running.
Then I installed Openssl-0.9.7.e from the url above ( note e, not g, but I
don't know if this is germane to the problem )
Finally I used only the mod_ssl binary from full AWS binary at the url
above, again.

Although Chris' tutorial refers to 2.0.52, this works fine with 2.0.54.

Have you tried starting AWS from the command line to see what error messages
you get? This way, messages will be sent to the console.

Good luck,

Michèle.


pmsimon@gmail.com

2005-05-02, 5:49 pm

Thank you for the reply. It's helpful to know what you've done.

I actually can get AWS 2.0.54 w/mod_ssl to work on Win2003, but not the
way I want:

AWS-Win32binary 2.0.54 + compiled mod_ssl 2.0.54 <-- Does not work

If I use the mod_ssl I compiled from an earlier realease, 2.0.49, then
it actually works.

I will most likely use the above scenario and build AWS + mod_ssl:

AWS-Win32source 2.0.54 + mod_ssl 2.0.54 compiled <-- Does work

To me, it looks like there is a problem between libapr.dll(win32
binary) and mod_ssl(2.0.54).

Paul

pmsimon@gmail.com

2005-05-04, 5:54 pm

Thank you for the reply. It's helpful to know what you've done.

I actually can get AWS 2.0.54 w/mod_ssl to work on Win2003, but not the
way I want:

AWS-Win32binary 2.0.54 + compiled mod_ssl 2.0.54 <-- Does not work

If I use the mod_ssl I compiled from an earlier realease, 2.0.49, then
it actually works.

I will most likely use the following to build AWS + mod_ssl:

AWS-Win32source 2.0.54 + mod_ssl 2.0.54 compiled <-- Does work

To me, it looks like there is a problem between libapr.dll(win32
binary) and mod_ssl(2.0.54).

Paul

McNasty

2005-05-24, 3:46 pm

Ok, if you want to stick to the g release of OpenSSL, just instal the binary from apache with no SSL then grab the zip with the SLL parts from http://hunter.campbus.com/ or perform a search on goole for Apache_2.0.54-Openssl_0.9.7g-Win32.zip
and copy the needed files from it. (the SSL related dlls, .so, config, and the exicutable so you can make keys).

You also need to add an environment variable (OPENSSL_CONF=[apache_root]/bin/openssl.cnf) and do some other stuff with the key.

http://www.devx.com/opensource/Arti...085/1763/page/2

is a good place for bigginers to SSL so they can get this going (this isn't directed at people posted on the tread as much as people looking for this info on google or something).
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com