Install Apache-Httpd with SSL
- Install Apache-Httpd with SSL support
- Download Open-SSL version 0.9.8d or higher
- Build Open-SSL
- ./config
- make
- make install (will install at /usr/local/ssl by default, see INSTALL file for more details)
- Test Open-SSL installation by typing "/usr/local/ssl/bin/openssl version"
- Download Apache-Httpd version 2.2.3 or higher
- Build Apache-Httpd with SSL
- ./configure --enable-ssl=shared --with-ssl=/usr/local/ssl --enable-proxy --enable-proxy-http
- make
- make install (will install at /usr/local/apache2, see INSTALL file for more details)
- ./configure --enable-ssl=shared --with-ssl=/usr/local/ssl --enable-proxy --enable-proxy-http
- Create SSL-Key
- openssl genrsa 1024 > /usr/local/apache2/conf/server.key
- openssl req -new -x509 -nodes -sha1 -days 365 -key /usr/local/apache2/conf/server.key > /usr/local/apache2/conf/server.crt
- Uncomment SSL config within /usr/local/apache2/conf/httpd.conf (Include conf/extra/httpd-ssl.conf)
- Configure virtual hosts within /usr/local/httpd-2.2.3/conf/extra/httpd-vhosts.conf
- A sample can be found at yanel/trunk/src/httpd-2.2.3/conf/extra/httpd-vhosts_WITH_SSL.conf
- Startup Apache: /usr/local/apache2/bin/apachectl start
- Test SSL: https://127.0.0.1:443
- Download Open-SSL version 0.9.8d or higher
Tomcat with SSL:
Httpd with SSL:
Your comments are much appreciated
Is the content of this page unclear or you think it could be improved? Please add a comment and we will try to improve it accordingly.