Comments on How To Set Up An SSL Vhost Under Apache2 On Ubuntu 9.10/Debian Lenny

How To Set Up An SSL Vhost Under Apache2 On Ubuntu 9.10/Debian Lenny This article explains how you can set up an SSL vhost under Apache2 on Ubuntu 9.10 and Debian Lenny so that you can access the vhost over HTTPS (port 443). SSL is short for Secure Sockets Layer and is a cryptographic protocol that provides security for communications over networks by encrypting segments of network connections at the transport layer end-to-end. We use the mod_ssl Apache module here to provide strong cryptography for Apache2 via SSL by the help of the Open Source SSL toolkit OpenSSL.

3 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By:

Falko, a well-written article which solved a weekend of frustration configuring Apache2 with an SSL certificate. I decided to subscribe to HowtoForge based solely on the high quality of your article.

 How can I download the Adobe PDF version of this article?

By: Julia Sifers

For a site that accepts both http and https connections, do I need two virtual host files? So for instance, similar to "default" and "default-ssl," would I create "mysite" and "mysite-ssl" and then enable both of these? OR do I just need the "mysite-ssl" virtual host file?

By:

This was the best tutorial on this subject that I came across. I joined this forum because of it.

  For it to work with Oneiric Ubuntu you need to 

Replace 

SSLCertificateFile /etc/ssl/certs/www.hostmauritius.com.pem 

With 

SSLCertificateFile  /etc/ssl/private/www.hostmauritius.com.crt