Chapter 11: Tomcat and Apache HTTP Server The
Chapter 11: Tomcat and Apache HTTP Server The steps involved to configure SSL support in Apache are listed here: 1. Install OpenSSL on your server, if it is not already installed. Most Linux systems should have OpenSSL installed. 2. Check whether your Apache installation has mod_sslsupport. If not, you would need to build Apache from source with the mod_sslsupport. 3. Get or generate an SSL certificate, and install it in Apache. 4. Make configuration changes in Apache for mod_ssl. 5. Test the SSL-enabled Apache-Tomcat setup. These steps are explained in greater detail in the following sections. The versions used in this chapter are Apache 2.2.4 server, with OpenSSL0.9.8d, running on a Linux operating system. Configuration for other versions should be similar; however, you should consult the associated documentation if you need to configure SSL for other version(s) of Apache server, SSL implementation, or operating systems. Also, the location of some of the configuration files may be different if you are using another Linux distribution. Configuring mod_ssl for Apache Apache can be enabled with SSL using the mod_sslApache module. This section provides an overview of the major steps involved in configuring Apache 2.2.4 with SSL on Linux. A similar setup will work on Windows by changing the appropriate system-specific paths. As mentioned in the introduction of this chapter, it is assumed that Apache is configured and running on the server. Verifying OpenSSL Installation All the popular Linux distributions usually include OpenSSL. You can verify that OpenSSL is installed by typing the following command in a console. openssl version If OpenSSL is installed, you should see a report of the version number, similar to the following. OpenSSL 0.9.8d 28 Sep 2006 If you get a command not found error, check the package installation instructions of your Linux distribution and install OpenSSL and the associated development packages, or get it from www.openssl.org. Building Apache with mod_ssl Support from Source Mod_ssl is a standard module that is included with the latest versions of Apache Web servers, and if you have it, you can skip this step. To determine whether mod_ssl is included, change directory to $APACHE_HOME/bin and run the following command: $ ./ httpd -D DUMP_MODULES
If you looking for unlimited one inclusive web hosting plan please check unlimited web hosting website.