Solved

Installing mod_ssl on Apache 2.0.49 Win32

Posted on 2004-04-27
5
5,561 Views
Last Modified: 2012-05-05
I have a working instance of Apache 2.0.49 running without SSL on Windows Server 2003 Standard, and I'd like to get that working.  I've been all around this site and the web, and there doesn't seem to be any definitive info on getting mod_ssl to work with Apache 2.  Most information I find relates to the latest version of Apache 1.x.  For example, this howto:

http://tud.at/programm/apache-ssl-win32-howto.php3

has links to a binary install, but it's only Apache 1.x.  I put the mod_ssl.so file found in the binary apache/openSSL distribution linked to in the howto (http://hunter.campbus.com/Apache_1.3.29-Mod_SSL_2.8.16-Openssl_0.9.7d-Win32.zip) into my Apache 2 "modules" directory,  generated a demo certificate/key in OpenSSL, and altered my httpd.conf file as described in the howto.  But when I attempt to start Apache, I get an error that the module file could not be found.  I assume I need to compile mod_ssl from source to work properly, but I don't have any compilers available to me as far as I know.

We're creating a new Apache/Cold Fusion MX environment, so I figured I might as well go with the latest version of Apache possible.  Should I just ditch my attempt at Apache 2 and just use the tried-and-true apache 1.x?
0
Comment
Question by:tcbdata
5 Comments
 
LVL 10

Assisted Solution

by:Mercantilum
Mercantilum earned 75 total points
Comment Utility
Apache 1.3.x works great, many people did not migrate to 2.0.
Espcially if you are on windows and without a compiler, you should go for 1.3.x.
0
 
LVL 23

Accepted Solution

by:
rama_krishna580 earned 175 total points
Comment Utility
0
 

Author Comment

by:tcbdata
Comment Utility
It does appear we'll just use Apache 1.3.x to get things going to save time.  However rama_krishna580's great links (particularly the devside.net one) will be used to determine the feasibility of building the server from scratch.  Thanks for the help!
0
 

Expert Comment

by:sakisss
Comment Utility
binary installation you can find at http://hunter.campbus.com

saki
0
 
LVL 2

Expert Comment

by:TheTinkeringToad
Comment Utility
Hiya i know this can be a puzzeling problem.
You do have to compile openssl within apache for it to work
to do so you need several tools from the gnuwin32 utilities
sed,bison,flex and gawk wich needs to be renamed awk.
you need to apache source, openssl source and zlib source use version 1.1.4
to compile it you will need free downloads from microsoft
visucal c++ 2003 toolkit and the platform sdk wich is renamed i think microsoft sdk when it is installed
make sure the path variables are set for both the include and lib and bin folders for each of the programs
to start the process you will need to use the vcvars.exe in the vc++2003 toolkit command in the bin folder or what i use is the command prompt that is linked from the start\program\visual c++ 2003 tool kit menu
this will open a command prompt ready and waiting to use the toolkit
you then use the compile commands listed in the openssl folder
after that you then compile apache
the directory structure that needs to be set up is like this
the source distribution for apache needs to be placed in a folder called httpd
in the source distribution for httpd there is a srclib folder
here you need to create a folder called openssl then place the source files in that folder for openssl
do the same for zlib that you have done for the openssl
then run your commands it should build
you should see alot of code go by if it succeeds it will transfer all files to the folders that it is set to create for apache 2
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now