Solved

Installing mod_ssl on Apache 2.0.49 Win32

Posted on 2004-04-27
5
5,564 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
ID: 10934843
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
ID: 10939289
0
 

Author Comment

by:tcbdata
ID: 10942401
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
ID: 11289949
binary installation you can find at http://hunter.campbus.com

saki
0
 
LVL 2

Expert Comment

by:TheTinkeringToad
ID: 11657718
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

939 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

4 Experts available now in Live!

Get 1:1 Help Now