The SSL Cert is bound to the actual host name. If you have an SSL cert for "qa.example.com", it won't work on your machine named "dev.example.com"
===

I want to understand the below line

"The SSL Cert is bound to the actual host name. If you have an SSL cert for "qa.example.com", it won't work on your machine named "dev.example.com".


Question :

1.how is possible to create a cert bound to a hostname ?

2.I have a client and server model .The server is not validating the client during communication. So far I had ONE set of key and certs which is installed on multiple servers and the communication works fine.

Now we have new set of certs which is bound to a hostname . Each server has a set of certs .
When swapped the communication does not work.  " Handshake failure " obtained.

Whats happening here ? Who validates the hostname ?