Help with SSL and CGI

I have a suse 11.2 lamp server for bata testing and development and need to implement a shopping cart to a site. I wanted to test and develop on my server here.

How do I enable ssl and the cgi functionality into a named virtual site on my server? I have never done anything with CGI or ssl before.

You can only have one SSL site, on the domain name that your IP address maps to, otherwise you will have a domain name mismatch and get a warning when the browser compares the two. See the vhost-ssl.template in /etc/apache2/vhosts.d for the required items in a SSL host config.

As for CGI that should just work. The CGI directory is specified by the ScriptAlias directive.