Solved

Installing mod_ssl on Apache 2.0.49 Win32

Posted on 2004-04-27
5
5,582 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

617 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