Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Installing mod_ssl on Apache 2.0.49 Win32

Posted on 2004-04-27
5
Medium Priority
?
5,589 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 225 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 525 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
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…
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…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

670 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