Single SSL cert on multiple servers

Ssl

Ssl Problem Overview


For a project I'm working on I will have multiple servers and lots of subdomains (eg- *.mydomain.com). I'm thinking of getting this ssl cert from godaddy- Unlimited Subdomains (Wildcard) $199.99/yr

Will I be able to use the cert on all the servers or do I need to buy a cert for each server since they each have a unique ip?

Ssl Solutions


Solution 1 - Ssl

Certificates are bound to a hostname (or wildcard hostname), so you're fine using the same cert on multiple machines.

However, when requesting a certificate, you usually create a private key on one of the servers. This private key needs to be copied to all machines in addition to the actual certificate that you recieve.

One scenario is where you have www.domain.com resolving to an IP of a load-balancer, which in turn forwards the traffic to multiple servers. In that case, you only need a certificate for www.domain.com that you copy (with the private key) to all servers in your cluster.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionrazorView Question on Stackoverflow
Solution 1 - SsljishiView Answer on Stackoverflow