SSL certificates – can they be used on more than one server

ssl

I have many websites all scattered on different IIS servers but they all accessible via sitename.example.co.uk. i.e. site1.example.co.uk

Btw this is only an example so I can get to grips with SSL certificates hence they're all self-signed via the following process

  1. Create my own CA
  2. Generate key and csr
  3. then generate signed certificate

http://datacenteroverlords.com/2012/03/01/creating-your-own-ssl-certificate-authority/

The resultant certificate of step 3 is assigned to *.example.co.uk. Can that be used on multiple servers, or do I have create a new certificate + key for each server despite them matching the domain on the certificate?

Best Answer

The certificate is a third-party-signed public key, and can be used by anyone with the corresponding private key. So as long as you give each server the matching private key, it can use the certificate.

But if you're making your own CA, why bother? You can mint certificates for each server and they will be no less (nor any more) trusted than the one private-CA-signed certificate you're proposing to use everywhere, and you'll have less of a problem with keeping a single private key secure through distribution to, and use on, many endpoints.