[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] SSL for all virtual sites



Quoting hoayap <hoayap@xxxxxxxxxxxxx>:

> In the Raq3 manual it states that by generating a certificate for the
> main site, "the main site certificate request is propagated to all
> virtual sites that have SSL enabled but do not have their own
> certificate request."
>
> I have generated a self-signed certificate on the main site, however, I
> am unable to enable the SSL on the virtual sites as indicated in the
> manual.
>
> Does anyone have a suggestion or solution to my situation?  I would like
> to have one certificate on the server to service all virtual sites
> requiring SSL on this Raq3.  Based on the manual, it should be possible
> or have I misunderstood?

This should do it. Note the SSL Engine on line *very* important.

# Secure site for domain.com
NameVirtualHost xxx.xxx.xxx.xxx:443
#
<VirtualHost xxx.xxx.xxx.xxx:443>
ServerName www.domain.com
ServerAdmin sitex
DocumentRoot /home/sites/sitex/web
SSLEngine on
CustomLog /var/log/httpd/ssl_request_log-boothdance \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml
AddType    text/html     .shtml
</VirtualHost>



Cheers,
Balázs

------------------------------------------------------------
Get your high-end web space with  http://www.thenewpush.com/