I"m running ubuntu 10.01.4 with apache 2 version 2.2.14. The site is up and running fine but I'm having a problem installing a ssl cert for the site.
Does it matter where the cert is installed it?

In the sites-available conf file for the site do I reference port 443 along with port 80 and the location of the cert path in one file?

This is what I have now

<virtualhost *:80>
ServerAdmin xxxxx@comcast.net
ServerName xxxx.com ServerAlias www.xxxx.com
DirectoryIndex index.cfm
DocumentRoot "/var/www/xxx"

<VirtualHost *:443>
ServerName www.yoursite.com
DocumentRoot /var/www/site
SSLEngine on
SSLCertificateFile /path/to/www_yoursite_com.crt
SSLCertificateKeyFile /path/to/www_yoursite_com.key
SSLCertificateChainFile /path/to/DigiCertCA.crt
</Virtual Host>
</virtualhost>

Is that right or do I have to make two separate vhost files one for port 80 and one for port 443?
Also do I have to change anything in the httpd.conf file as well?

I tested this config and it didn't work so i'm missing something.

THanks!