Introduction: Howto Apache2 + SSL Installation
This tutorial will teach you how to install and configure Apache2 + SSL for Debian Etch. The installation is straightforward. You can just copy pasted the commands below:
Install apache2 in debian etch
#apt-get install apache2
Install openssl using the following command
#apt-get install openssl ssl-cert
Install PHP5 support for apache2 in debian etch
#apt-get install libapache2-mod-php5 php5-cli php5-common php5-cgi
Once you install apache server you need to Generate a certificate,Enable Apache SSL support and Configure your SSL options.
Generate A certificate