Certificate #2: RSA 2048 bits (SHA256withRSA) No SNI -- Mismatch, SSL Test gives back a different domain name
![](https://techprofile.blob.core.windows.net/images/ZuNVcOj0Okile2TBTag2QQ.png?8DC577)
I have few applications hosted in IIS on a windows server. which are routed through Azure APP Gateway.
I'm enhancing the SSL configuration across all my domains. Upon running the ssllabs.com test revealed a second certificate(Certificate #2: RSA 2048 bits (SHA256withRSA) No SNI) being sent wrongly by my server.
My server sends an certificate for one of my other domains.
For instance, when testing ABC.ca, Certificate #2 is issued to another domain def.com(because one of my other site with smallest/lowest priority in APP gateway listener Rules). Although the SSL rating for the site is A+
I followed the below URL and edited Hosts and added certificates under web hosting