httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant <emailgr...@gmail.com>
Subject Re: [users@httpd] Options for multiple SSL domains on 1 server
Date Wed, 06 Oct 2010 22:26:07 GMT
>> <VirtualHost 12.34.56.1:443>
>> ...
>> SSLCertificateFile /etc/apache2/ssl/www.example1.com.crt
>> SSLCertificateKeyFile /etc/apache2/ssl/www.example1.com.key
>> ...
>> </VirtualHost>
>>
>> <VirtualHost 12.34.56.2:443>
>> ...
>> SSLCertificateFile /etc/apache2/ssl/www.example2.com.crt
>> SSLCertificateKeyFile /etc/apache2/ssl/www.example2.com.key
>> ...
>> </VirtualHost>
>
> no listen directive for each ip address?
> or is apache using listen 0.0.0.0:443?

I'm sorry that this message is not as detailed as it could be.  This
is my third attempt at sending it.  It keeps tripping the spam filter,
probably because of all the IP and domain references.

I had 'Listen 443' but I also tried specifying the exact IP addresses
along with the port number on 2 Listen lines with the same results.

I'm baffled because even if I enter the IP after https in a browser,
I'm presented with the wrong SSL cert.  I used openssl on the command
line to be sure I had named the certificates correctly.  Any ideas?

# ifconfig
eth0      Link encap:Ethernet  HWaddr [removed]
        inet addr:12.34.56.1  Bcast:[removed]  Mask:255.255.255.248
        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
        RX packets:46047 errors:0 dropped:0 overruns:0 frame:0
        TX packets:65703 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:1000
        RX bytes:6131194 (5.8 MiB)  TX bytes:82568335 (78.7 MiB)
        Interrupt:40

eth0:1    Link encap:Ethernet  HWaddr [removed]
        inet addr:12.34.56.2  Bcast:[removed]  Mask:255.255.255.248
        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
        Interrupt:40

- Grant

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message