Koozali.org: home of the SME Server

Seting up a SSL Certificate.

Ynot

Seting up a SSL Certificate.
« on: December 02, 2003, 11:44:43 AM »
Would you follow the same procedure for setting up a new SSL Certificate on a virtual domain as you would the primary domain? V6


http://www.v-cut.com/SME/HowTo/SSL-Certificates-on-SME.htm

Ynot

Re: Seting up a SSL Certificate.
« Reply #1 on: December 02, 2003, 02:57:25 PM »
Yes you do.

I got it working.

Works great.

Charlie Brady

Re: Seting up a SSL Certificate.
« Reply #2 on: December 02, 2003, 06:40:22 PM »
Ynot wrote:

> Would you follow the same procedure for setting up a new SSL
> Certificate on a virtual domain as you would the primary
> domain?

As has been said many times here, and more elsewhere, you can't have separate SSL certificates for different virtual domains. It's one certificate per IP address, not domain name.

Charlie

Anonymous

Seting up a SSL Certificate.
« Reply #3 on: February 02, 2004, 08:44:54 PM »
Is it working or not?

I can't get it working proberly.

I've have serveral problems:

1) If i make a key and crt for the myprimarydomain.com then www.myprimarydomain.com dosen't work.

2) If i make a key and crt for myvirualdomain.com then nothing works.


Can anyone tell me what to do?

haj

Seting up a SSL Certificate.
« Reply #4 on: February 02, 2004, 11:16:30 PM »
Charlie,

We should be able to have one certificate per virtual domain by using other ports:

<IfDefine SSL>
Listen 443 //default ssl port
Listen 4000
</IfDefine>

//exemple
<VirtualHost 82.146.48.52:4000>
        SSLEngine On
        SSLCertificateFile /home/e-smith/ssl.crt/virtualdomain_com.crt
        SSLCertificateKeyFile /home/e-smith/ssl.key/virtualdomain_com.key
        ServerName virtualdomain.com
        ServerAlias www.virtualdomain.com
</virtualHost>

then access it by virtualdomain.com:4000

Althought have a look there:
http://codewalkers.com/tutorials/59/3.html