If I have test.example.com
and prod.example.com
(two hostnames, but same domain name) can I use the same SSL cert on both machines?
In the past when I tried using a prod.example.com
cert on test.example.com
it resulted in browser warnings for host-mismatch, which led me to believe that I needed a wildcard (or else multiple distinct certs). (Perhaps my mistake was in generating the CSR for prod.example.com
rather than simply example.com
?)
But the various SSL vendors' websites mention needing a wildcard cert for subdomains, which is not at all what I am using.
Is their language simply incorrect? (My cynical side wonders if this helps vendors sell more expensive certs...)