Apache
  Home arrow Apache arrow Page 3 - Installing Apache With SSL: The Complete G...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
APACHE

Installing Apache With SSL: The Complete Guide
By: William Young
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 26
    2002-12-16

    Table of Contents:
  • Installing Apache With SSL: The Complete Guide
  • Configuring Your OpenSa Server
  • Running SSL Automatically
  • Configuring Your Http.Conf File

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    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.

    More Apache Articles
    More By William Young


     

    APACHE ARTICLES

    - 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







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek