FreeBSD - Tutorials, Security
Home   Archives   Sitemap   About   Contact

Apache+SSL How to build a secure webserver

Home NEW! Unix Forum News 100 Tips and Tricks Website Development Server Operating Systems Databases
 Ivorde.ROarrow Website Development arrowServer SidearrowApache+SSL How to build a secure webserver 

Article Sections

    Hello, Guest !
User name:

 SSD VPS Hosting -
 Ivorde forum
 FreeBSD Tutorials
 Linux LVM Commands
 Free Shell Accounts
 FreeBSD Project
 FreeBSD Handbook
 Advanced Bash-Scripting Guide
 The OpenBSD Project
 FreeBSD Handbook

Apache Webserver Home Page

Posted on: 02 Nov 2007
Author: mandrei
Section: Website Development | Server Side
Views: 9395
Comments: 0 (Add)

Apache+SSL How to build a secure webserver
Interesting resource that can answer for us to a few questions if we need to open up a secure website.


Electronic commerce is becoming very popular on the Internet. Companies will often pay thousands of
dollars for commercial packages to deliver secure content to customers on the Web. You can setup one of the
most popular Web servers, Apache, running on Linux and serving secure content, for free.

To setup Apache to deliver secure content, you will need to get a cryptographic package called OpenSSL,
based on the SSLeay library. The place to start is at . From there, you can
download the needed patches to make Apache into a secure web server.

Detailed instructions are available in the packages, but here is a quick step-by-step guide:

· First, you need to download 3 packages: Apache itself, the corresponding Apache-SSL patch

and OpenSSL.

· Then you need to patch the Apache distribution and compile the SSL library.
· After editing the configuration file in the Apache directory, and setting the right paths and

libraries to use, you can compile Apache and then create a test certificate.

· All you have to do now is install Apache and configure it to use your test certificate.

Note that while Apache and the SSLeay libray are free, you may need to pay to get signed certificates from
commercial companies. Also, due to export laws in various countries, you may want to check your local laws
before using any encrypting product.

Sample of apache config file running VirtualHosts with secure SSL port and with standard http port

Bookmarks: Echo "Apache+SSL How to build a secure webserver" around:

Other articles in Website Development / Server Side
» How to set Apache not to log requests for images or java scripts
» PHP Error: Call to undefined function exif_imagetype() on FreeBSD
» Apache: Individual logging for each domain or subdomain
» How to prevent visitors from viewing .htaccess and .htpasswd files
» LIGHTTPD - create virtual hosts - subdomains - quick how-to

Contact webmaster regarding this article
Register or Login to post your article
Hello, Guest ! You can Login or Register to!

 Post comment:

Please type the word you see in the image (anti-spam verification). Refresh the page if you don't understand the word.
Allowed HTML Tags for comments:<p><strong><em><u><h1><h2><h3><h4><h5><h6><img><li>

0 comment(s) to Apache+SSL How to build a secure webserver:

   Latest topics on the forum:
   Most viewed articles:
How to copy a mysql database using mysqldump - 26911 views
FreeBSD: Add/remove an additional IP alias - 23157 views
How to change a user's password in AIX with the output from ECHO command - 20195 views
Qmail relay to smarthost: How to route all mail to a smarthost - 15065 views
How to remove first/last character from a string using SED - 13989 views

   Latest 10 articles:
Qmail relay to smarthost: How to route all mail to a smarthost - 03 Feb 2009
EXIM 4 relay to smarthost: How to route all mail except local domain - 03 Feb 2009
Windows XP: print LISTEN ports and network connections using netstat - 30 Jan 2009
How to cut out first last n characters from each file name, from a filelist - 04 Nov 2008
Mozilla Firefox3 is now released - 18 Jun 2008
How to switch lower case to upper case and upper case to lower case in a string - 17 Jun 2008
How to rename files/directories to uppercase/lowercase character names - 17 Jun 2008
How to convert lower case to upper case letters in a shell script/command - 17 Jun 2008
Unix,Linux,FreeBSD - How to rename a list of files, replacing spaces inside their names - 12 Jun 2008
How to change a user's password in AIX with the output from ECHO command - 21 May 2008

» 2007  |  June  |  October  |  November  |  December
» 2008  |  January  |  February  |  March  |  April  |  May  |  June  |  November
» 2009  |  January  |  February

Home | Archives | Sitemap | About | Contact

Designed and developed by Andrei Manescu. Optimized for Mozilla Firefox.  
Copyright 2007 Andrei Manescu
All trademarks and copyrights on this page are owned by their respective owners. Comments are owned by those who posted them.
Valid W3 Document Valid XHTML 1.0 Transitional Valid CSS! The FreeBSD Project Viewable With Any Browser