Home arrow Apache arrow Page 3 - Installing Apache With SSL: The Complete Guide

Installing Apache With SSL: The Complete Guide

Ever wanted SSL security support on your web site? If so, then take a look at this article. In it, Will teaches us how to install OpenSa Server -- Apache mixed with SSL support.

Author Info:
By: William Young
Rating: 4 stars4 stars4 stars4 stars4 stars / 28
December 16, 2002
  1. · Installing Apache With SSL: The Complete Guide
  2. · Configuring Your OpenSa Server
  3. · Running SSL Automatically
  4. · Configuring Your Http.Conf File

print this article

Installing Apache With SSL: The Complete Guide - Running SSL Automatically
(Page 3 of 4 )

I'm going to show you how to configure the SSL part of the server to run automatically so that you won't have to start it manually everytime your computer loads up. I got tired of doing this, so to save everyone time, I'll show you how to configure it to run as a service as well.

Open your httpd.conf file in notepad. It will be located in the C:\OpenSA\Apache\conf directory.

When you have your conf file open, press ctrl+f and type IfDefine SSL in the find box. This will take you right to the lines you need to edit. It should look like this:

Remove both brackets so that it now looks like this:

Save the changed settings and close your httpd.conf file. Start your web server using the method I showed you on the previous page. Once it's started, look at your command prompt screen to see that OpenSSL/0.9.6g is indeed running, just like in the screenshot below:

Once you see that everything is working as it should, go to your browser and type in https://localhost/. Note the "https". It should bring up a dialog like this one:

Click yes and it should bring you to a test page. There you have it -- an Apache server with SSL and various other modules that you can use for both your personal and commercial web sites.

Note that the certificate that comes with this package is an old, expired one, and should not be used for a production site. Install a valid certificate if you plan to use SSL on your commercial site. You can get a certificate from Verisign for a couple of hundred dollars.

For the people who have administrator rights to your computer, I have a few shortcuts that you can use to save you time in the future.

If you're unsure whether you have admin rights or not, then click on "my computer" and then "control panel". If you see the administrative tools then you have admin rights to your computer. If you don't, then just skip this part of the tutorial and proceed to the next page.

If you see the administrative tool icon, then click on it. You will see a few icons. You need to double click on the services icon. This will open up the services window, which looks like this:

I've made the list above short so you will see Spache on the list. Its status should be stopped. Double click on the Apache item to get the properties window, as shown below:

To get a better understanding of what each feature does, right click and you'll get a "what's this?" button. Click on it and it will describe what you've right clicked on in detail. Everything is pretty much laid out for you however, so you might not need it.

Let's now head to our final step, which will be to edit the conf file again.
blog comments powered by Disqus

- Programmatically Manipulating Microsoft Exce...
- Installing PHP under Windows
- Compressing Web Content with mod_gzip and mo...
- Compressing Web Output Using mod_deflate and...
- Setting Up Apache 2.0.45 to Parse PHP Pages
- Custom Error 404 Documents with PHP
- Using Apache and PHP on Mac OS X
- ASP: Active Sessions, Active Logins and Tota...
- Working With Oracle on Windows: Part 1
- The Quick-n-Dirty Guide to Setting Up Apache...
- Installing Apache With SSL: The Complete Gui...
- 7 Powerful .htaccess Customization Tips
- Trap And Get Notified: A Practical Solution ...
- One Way To Use Server Side Includes
- Using ForceType For Nicer Page URLs

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials