Can we use a certificate bought for one domain on another domain?

We bought a certificate two years ago for service1.domain1.com and it is valid up to 2018. The problem is that domain was managed by third party and they are going to drop that sub domain.

My question is can we use the certificate bought for service1.domain1.com on service1.domain2.com?

Our server is IIS 7.5. I create a website and put service1.domain1.com and service1.domain2.com together in bindings on the same website. Both https://service1.domain1.com and https://service1.domain2.com seem to be working perfectly when I view them on browser. If we keep that way and our third party dropped their domain service1.domain.com, can https://service1.domain2.com still work with that certificate?


Solution 1:

No, the certificate will give an error in browsers that it is for the wrong domain. That's the whole point of certificates - to verify that the site is the one it claims to be. Part of that is verifying the URL of the site matches the one on the certificate.

Depending on where you got the certificate, they may allow you to revoke the one for the old domain and get a new one for the new domain. Or they may want you to pay for a whole new certificate.

Solution 2:

SSL certificates are domain specific. In fact unless they're wildcard certififcates, they cannot even be swapped out for subdomains either. Eg: A certificate ordered for super.power.com will not work on power.com.

When you generate a Certificate Signing Request, the common field is the domain name, and the key and certificate become specific for the domain.