Gentoo Archives: gentoo-user

From: Daniel Iliev <danny@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can anyone tell me where I've loused-up this apache config?
Date: Tue, 03 Oct 2006 19:35:10
Message-Id: 20061003192708.7F9F51A006D80@mail.ilievnet.com
In Reply to: Re: [gentoo-user] Can anyone tell me where I've loused-up this apache config? by Hans-Werner Hilse
1 On Tue, 3 Oct 2006 19:25:17 +0200
2
3
4 > Hi, sorry,
5 >
6 > On Tue, 3 Oct 2006 16:48:50 +0200
7 > Hans-Werner Hilse <hilse@×××.de> wrote:
8 >
9 > > So basically that means you can only have one SSL server per IP.
10 >
11 > should have been "per IP:Port combination".
12 >
13 > -hwh
14
15 As Mr. Hans-Werner Hilse already explained, you have to assign a different IP address for
16 each SSL vhost. I'll add just an example:
17
18
19 NameVirtualHost 10.0.0.222:443
20 <VirtualHost 10.0.0.222:443>
21 ServerName vhost-111.example.com
22 SSLEngine on
23 SSLCertificateFile /path/to/certificates/vhost-111/server.crt
24 SSLCertificateKeyFile /path/to/certificates/vhost-111/server.key
25 ....
26 </VirtualHost>
27
28 NameVirtualHost 10.0.0.111:443
29 <VirtualHost10.0.0.111:443>
30 ServerName vhost-222.example.com
31 SSLEngine on
32 SSLCertificateFile /path/to/certificates/vhost-222/server.crt
33 SSLCertificateKeyFile /path/to/certificates/vhost-222/server.key
34 ....
35 </VirtualHost>
36
37 --
38 Best regards,
39 Daniel
40
41 --
42 gentoo-user@g.o mailing list