You are using name (ie. Host: header) based vhosting and no IP-based
vhosting. You need to use IP based vhosting (ie. a seperate IP for each
vhost) to be able to use different SSL certificates.
On Wed, 6 May 1998, Glen Eustace wrote:
> Hi, I am not currently subscribed to this list so if you reply, can you
> CC: me directly.
>
> I am trying to setup Apache-SSL such that several Virtual sites all have
> their own certificate. Althoug I can add the appropriate
> SSLCertificateFile directive to each definition, the only one that is
> presented to the client is the one associated with the root server.
>
> <VirtualHost www.asianoutreach.org.nz>
> ServerAdmin WebMaster@asianoutreach.org.nz
> ServerName WWW.AsianOutreach.Org.NZ
> DocumentRoot /home/aonz
> ServerPath Missions
> # SSLDisable
> SSLCertificateFile www.asianoutreach.org.nz
> SSLCertificateKeyFile agree
> SSLLogFile /usr/local/apache/logs/ssl
> </VirtualHost>
>
> I am using "Server version Apache/1.2.4 Ben-SSL/1.11 mod_perl/1.00."
>
> Is one supposed to be able to do this, and if so can someone tell me
> what I am doing wrong.
>
> Any help appreciated.
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Glen Eustace, Systems Engineer - Networking, Computing Services,
> Massey University, Private Bag 11222, Palmerston North, N.Z.
> Ph: +64 6 350 5161, Fax: +64 6 350 5607, Mobile +64 25 500 321
> Pvt Ph: +64 6 356 2562
>