[BlueOnyx:03003] Re: SSL Certificate

Steffan snoord at planet.nl
Wed Dec 2 03:47:00 -05 2009


This is what i do

pico /usr/sausalito/handlers/base/vsite/unique.pl

 
#and disable this:

## don't allow system FQDN as the vsite FQDN
#my $system_fqdn = lc($system->{hostname} . "." . $system->{domainname});
#my $vsite_fqdn = lc($vsite_new->{fqdn});
#if ($system_fqdn eq $vsite_fqdn) {
#       $cce->bye('FAIL',
"[[base-vsite.systemFqdnNotAllowed,fqdn='$vsite_new->{fqdn}']]");
#      exit(1);
#}

Add the site with your servername
Find out what the sitenumber is in /etc/httpd/conf/vhosts
cp /etc/httpd/conf/vhosts/sitexx /etc/rc.d/init.d/1.servername.conf

or edit /etc/httpd/conf/httpd.conf and 
Include /etc/httpd/conf/vhosts/sitexx
Somewhere in the file before the include conf.d/*.conf

Use a wildcart ssl for this site
pico /etc/httpd/conf.d/blueonyx.conf

and change
RewriteRule ^/login/?$                  http://servername.com:444/login.php
[L,R°301]

Restart httpd
Now all siteadmin are being redirected to the servername and to that ssl
So no ssl errors for the siteadmin


Steffan



-----Oorspronkelijk bericht-----
Van: blueonyx-bounces at blueonyx.it [mailto:blueonyx-bounces at blueonyx.it]
Namens DotHost | Martin Jensen
Verzonden: woensdag 2 december 2009 7:34
Aan: BlueOnyx General Mailing List
Onderwerp: [BlueOnyx:03000] SSL Certificate

Hi all,

I was wondering if anyone knew how to assign a SSL certificate to the 
servers primary name itself?
Like - my server was named subdom3.domain.com during the installation.

So I would like my costumers to be able to use 
https://subdom3.domain.com/ - but I cannot find anywhere I can assign 
it. On RaQ 550 the name of the server was created as the first virtual 
site, but that doesn't seem to be the case on BO?

Thanks in advance.

//Martin
_______________________________________________
Blueonyx mailing list
Blueonyx at blueonyx.it
http://www.blueonyx.it/mailman/listinfo/blueonyx





More information about the Blueonyx mailing list