We have a Service Bus 1.1 farm (3 servers) installed on our test and production server. When we are trying to create a client app with Service Bus DLL version 2.1.30521 it connects with test environment but fails for production with an error:
Microsoft.ServiceBus.Messaging.MessagingCommunicationException was unhandled
Message=Identity check failed for outgoing message. The expected DNS identity of the remote endpoint was 'DNS3xxxxx' but the remote endpoint provided DNS claim 'DNSAAA'. If this is a legitimate remote endpoint, you can fix the problem by explicitly specifying DNS identity 'DNSAAA' as the Identity property of EndpointAddress when creating channel proxy.
Source=Microsoft.ServiceBus
IsTransient=true
The certificate contains Subject Alternative Names:
DNSName = DNS1xxxxx
DNSName = DNS2xxxxx
DNSName = DNS3xxxxx
DNSName = DNSAAA
Same way it is configured for test enviornment with subject alternative names as:
DNSName = DNS-TestAAA
DNSName = DNS1-Testxxxxx
DNSName = DNS2-Testxxxxx
DNSName = DNS3-Testxxxxx
Everything works fine when we are using ServiceBus dll version 2.1.30907.0 for both Test and Production farm.
I am sorry if above explanation is not detailed.
Can someone please help on this issue.
Thanks & Regards,
Kunal Abrol