1 |
I'm trying to use a different SSL cert in apache2 for each of the two |
2 |
domains on my server. I don't want to use SNI or subjectAltName |
3 |
because of lacking browser support and I want to use port 443 for both |
4 |
domains. I think this means I need to use separate IP addresses for |
5 |
each of my domains. I have 5 usable IPs from my host and I've defined |
6 |
2 of them in /etc/conf.d/net like this: |
7 |
|
8 |
config_eth0=( |
9 |
"1.2.3.1 netmask 255.255.255.0" |
10 |
"1.2.3.2 netmask 255.255.255.0" |
11 |
) |
12 |
|
13 |
My apache2 config is not working as expected and I think its due to a |
14 |
networking problem because eth0:1 reports no RX or TX stats: |
15 |
|
16 |
# ifconfig |
17 |
eth0 Link encap:Ethernet HWaddr [removed] |
18 |
inet addr:1.2.3.1 Bcast:[removed] Mask:255.255.255.0 |
19 |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
20 |
RX packets:46047 errors:0 dropped:0 overruns:0 frame:0 |
21 |
TX packets:65703 errors:0 dropped:0 overruns:0 carrier:0 |
22 |
collisions:0 txqueuelen:1000 |
23 |
RX bytes:6131194 (5.8 MiB) TX bytes:82568335 (78.7 MiB) |
24 |
Interrupt:40 |
25 |
|
26 |
eth0:1 Link encap:Ethernet HWaddr [removed] |
27 |
inet addr:1.2.3.2 Bcast:[removed] Mask:255.255.255.0 |
28 |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
29 |
Interrupt:40 |
30 |
|
31 |
Does anyone know how to get this working? |
32 |
|
33 |
- Grant |