Gentoo Archives: gentoo-user

From: Michael Orlitzky <michael@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] IP aliasing problem
Date: Thu, 07 Oct 2010 01:48:31
Message-Id: 4CAD26DF.6050508@orlitzky.com
In Reply to: Re: [gentoo-user] IP aliasing problem by Grant
1 On 10/06/2010 06:17 PM, Grant wrote:
2 > I'm confused because I have in apache2 config:
3 >
4 > <VirtualHost 1.2.3.1:443>
5 > ...
6 > SSLCertificateFile /etc/apache2/ssl/www.example1.com.crt
7 > SSLCertificateKeyFile /etc/apache2/ssl/www.example1.com.key
8 > ...
9 > </VirtualHost>
10 > <VirtualHost 1.2.3.2:443>
11 > ...
12 > SSLCertificateFile /etc/apache2/ssl/www.example2.com.crt
13 > SSLCertificateKeyFile /etc/apache2/ssl/www.example2.com.key
14 > ...
15 > </VirtualHost>
16 >
17 > But if I request https://1.2.3.2 or https://1.2.3.2:443, I'm presented
18 > with an SSL cert that has www.example1.com for the Common Name. I
19 > used openssl to verify that the Common Name for www.example2.com.crt
20 > is www.example2.com.
21
22 Make sure you don't have SSLCertificateFile/SSLCertificateKeyFile
23 defined anywhere outside of the virtual hosts.

Replies

Subject Author
Re: [gentoo-user] IP aliasing problem Grant <emailgrant@×××××.com>