Show the real domain info for cert errors in the error text
Currently when accessing a site using the wrong certificate, the advanced info does not show the domain the cert is supposed to be for.
Knowledgeable users will know how to inspect the cert and which values are important, but most users will not.
It would be useful to see a warning in the error message such as;
mim.icq.com is trying to use the certificate from icq.net
This certificate was issued to [insert certificate subject] and is valid for [insert subject alternative name] and was issued by [insert Issuer]
This should make it easier to spot a misconfigured site from a compromised site, so aid the average user in making a decision who to contact or complain to.