Solved

Installing mod_ssl on Apache 2.0.49 Win32

Posted on 2004-04-27
5
5,571 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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