So I want to do asynchronous, disconnected, across-the-Internet messaging with WCF. Probably due to my background in Apache ActiveMQ, I'm looking at MSMQ for this.
In ActiveMQ, it was a simple thing to encrypt a queue connection; you simply chose an SSL based connection to the broker, and you had a basic SSL layer to protect your communication between the broker and the clients. (Should I consider using WCF clients with an ActiveMQ broker?)
When I hit Google for MSMQ encryption and MSMQ SSL I'm not finding anything similar. Here's hoping I'm just missing something?
I have found some semi-convoluted looking stuff about encrypting messages, things that seem off the mark about using HTTPS, and things that require an Active Directory - but I'm looking to protect all of the communication, not just the messages, and we prefer not to use HTTPS as a binding as we require disconnected operation, and we will have no Active Directory to work with.
What's the best way to do this?
Does http://blogs.msdn.com/motleyqueue/archive/2007/10/06/complementing-msmq-security-with-wcf.aspx have any relevance? It seems to hint at a setting which appears to be transport level, and suggests message encryption as well.
OK, finally found a reference to doing non-Active Directory MSMQ encryption. Here's the link. It's not hard once you find the documentation!
This is how you use message encryption with MSMQ but not use Active Directory.
http://msdn.microsoft.com/en-us/library/aa395200.aspx
From TFA: