Are you sure this isn't intended behavior? Why should pidgin trust the hostname on a certificate just because it matches the ID? If anything, it seems like having that behavior for a SRV record would be a bug.
- Bug#877687: pidgin: (xmpp) checks wrong certificate when co... Richard Hector
- Bug#877687: pidgin: (xmpp) checks wrong certificate wh... Ari Pollak
- Bug#877687: pidgin: (xmpp) checks wrong certificat... Richard Hector