[rabbitmq-discuss] Rabbit + .Net + SSL

Dan B danbarua at gmail.com
Tue Jun 7 16:20:08 BST 2011


Hi Mark,

Ok, firstly I switched to the .pem format for the Public Certificate.
That's one of the things I've been doing wrong all along.

The .net client started rejecting the certificate which is fine, we
now know that they're at least speaking to eachother so I temporarily
changed the CertificationValidationCallBack to

//return (sslPolicyErrors & ~m_sslOption.AcceptablePolicyErrors) ==
SslPolicyErrors.None;
return true;

...and wahey! We're exchanging messages over SSL!

Here's the catch: if I run RabbitMq as a service, SSL doesn't work,
and I can't talk to the node. If I run it as an application it all
works fine.

So I've got SSL up and running but it's not robust enough to use in
production yet....

-Dan


More information about the rabbitmq-discuss mailing list