You are invited to Log in or Register a free Frihost Account!

How do i set up a secure socket layer SSL?

I installed a cartprogram and i want to use a secure url like https://
So costumers will know their privacy is protected.
I tried few things in cpanel, but i really am new to this.
Can someone help me out here?
I would appeciate it very much!
Also i guess a ssl mod needs to be installed since i can find it in cpanel also.
Unfortunately, this is impossible. You need a dedicated IP Address to use SSL on a web host.

Maybe you should read this:

Why can't I use SSL with name-based/non-IP-based virtual hosts?
The reason is very technical. Actually it's some sort of a chicken and egg problem: The SSL protocol layer stays below the HTTP protocol layer and encapsulates HTTP. When an SSL connection (HTTPS) is established Apache/mod_ssl has to negotiate the SSL protocol parameters with the client. For this mod_ssl has to consult the configuration of the virtual server (for instance it has to look for the cipher suite, the server certificate, etc.). But in order to dispatch to the correct virtual server Apache has to know the Host HTTP header field. For this the HTTP request header has to be read. This cannot be done before the SSL handshake is finished. But the information is already needed at the SSL handshake phase. Bingo!


Why is it not possible to use Name-Based Virtual Hosting to identify different SSL virtual hosts?
Name-Based Virtual Hosting is a very popular method of identifying different virtual hosts. It allows you to use the same IP address and the same port number for many different sites. When people move on to SSL, it seems natural to assume that the same method can be used to have lots of different SSL virtual hosts on the same server.

It comes as rather a shock to learn that it is impossible.

The reason is that the SSL protocol is a separate layer which encapsulates the HTTP protocol. So the problem is that the SSL session is a separate transaction that takes place before the HTTP session even starts. Therefore all the server receives is an SSL request on IP address X and port Y (usually 443). Since the SSL request does not contain any Host: field, the server has no way to decide which SSL virtual host to use. Usually, it will just use the first one it finds that matches the port and IP address.

You can, of course, use Name-Based Virtual Hosting to identify many non-SSL virtual hosts (all on port 80, for example) and then you can have no more than 1 SSL virtual host (on port 443). But if you do this, you must make sure to put the non-SSL port number on the NameVirtualHost directive, e.g.


Other workaround solutions are:

Use separate IP addresses for different SSL hosts. Use different port numbers for different SSL hosts

(source: Apache 2.0 Documentation)
If you want ssl, you'll need to get to a paid host with an unique ip and most likely buy some license for it.
Ok Bondings, thanks for the reply, i know about the certificate, but to apply for one you need to have a site first, so they can screen your site first, when approved i can get a certificate.
I just hoped it could be here on your great host! But what you really say is, if i want a secure url, i have to go for paid hosting right?
I guess if i want to do bussines online, i better considder a paid host.
Thanks for your input Bondings, i will considder it. Wink
Gerardus™ wrote:
I guess if i want to do bussines online, i better considder a paid host.
Thanks for your input Bondings, i will considder it. Wink

Yeah, and not the cheapest paid host. An unique ip will cost you more than 5$ a month I guess. Wink
Related topics
TurboFTP - secure FTP client program
how to make web hosting
Mysql localhost
Needing help.
[Guide] Les services windows (2000, XP) optimisations.
Internet Explorer 7 is coming!!!
Not able 2 access my website's control panel
Creating secure pages?
Windows Vista Official Thread
using SSL
Authentication Module
A Family of Protocols
which server operating system?
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

© 2005-2011 Frihost, forums powered by phpBB.