I have the domain example.com with the subdomains : www.example.com and a.example.com. Let's suppose that I can't buy a wildcard certificate but, I bought the certificates for example.com and www.example.com. Now I bought the certificate for a.example.com. The site and it's subdomains are in the same folder, using one Apache vhost file and subdomains are defined as aliases.
- Can I merge the certificates into one file ?
- What if I used the same key, csr files to generate the certificates ?
- Is the ONLY solution to declare the sites in two different vhosts ?
www.cust1.brand.com
andwww.cust2.brand.com
, main site is onwww.main.com
(as well aswww.brand.com
,brand.com
andlegacy.example.com
) andmain.com
... (Code looks atHost
header to brand site) Tens of identical VirtualHosts seems impractical to maintain...