I already made a SSL certificate for my server, but can I use the SSL only for specific website.
For example inside
/var/www I have a lot web folder and I want the "A" website used HTTPS and the others not used HTTPS.
How to setup?
You need OpenSSL version 0.9.8f or later. If you use Ubuntu Hardy Heron (8.04) or later you'll get the correct version. Furthermore OpenSSL should have TLSExtensions enabled. This is the default case since version 0.9.8k (Lucid, 10.04). You Apache version should have SNI support. Have a look into your
If you find the message above SNI is enabled and if you see the message below SNI is not built in.
In your default config you should have TLSv1 set as a supported protocol. Look for the variable
This adds supportfor all knowns flavors of SSL and TLS, but not SSL version 2.
Now you have to setup your vrtual host and also maybe activate SSL support (
The Apache documentation has some detailed description about their SSL support.