My situation:
- We have two servers,
Server A
andServer B
. Server A
has a proxy configured, which serves data (over SSL) fromServer B
.Server B
is reachable via1.1.1.1
(one.server.example.com
) and2.2.2.2
(two.server.example.com
).Server A
decides which connection it should use to connect (failover).- Apache on
Server B
is configured with a virtual hostserver.example.com
and has two aliases,one.server.example.com
andtwo.server.example.com
.
I'd like to know if I have to buy two SSL certs (because we're connecting to both one.server.example.com
and two.server.example.com
), or if one will suffice because one.server.example.com
and two.server.example.com
are just aliases of server.example.com
.
Also, if this is not the 'recommended' way to set up such things, please let me know. Never did this before..