These are some Recipies for configuring ssl under apache
Use StartSSL.com
Note: Normal httpd configuration only allows for one ssl certificate domain per IP.
Since a certificate with multiple domains cost money, that's a hassle.
There seem to be ways around this: Link.
Note: At the step to create a private key, select SHA1 if you want Windows XP clients to be able to connect to your site!
SSLEngine On
SSLCertificateFile /usr/local/apache2/mydomain.com.crt
SSLCertificateKeyFile /usr/local/apache2/mydomain.com.key
SSLCACertificateFile /usr/local/apache2/conf/ca.pem
SSLCertificateChainFile "/usr/local/apache2/conf/sub.class1.server.ca.pem"
Add the following in the VirtutalHost block of the host you are wishing to redirect.
The file is called httpd-vhosts.conf
<VirtualHost *:80>
RewriteEngine on
ReWriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R=301,L]
</VirtualHost>