[rabbitmq-discuss] facing issues with the SSL implementations with RabbitMQ + Windows + .Net
Alexandru Scvorţov
alexandru at rabbitmq.com
Thu Aug 11 15:15:57 BST 2011
Dan,
> {ssl_options, [{cacertfile,"C:/CAConfig/publicCertificate.pem"},
> {certfile,"C:/CAConfig/publicCertificate.pem"},
> {keyfile,"C:/CAConfig/private.pem"},
Did you mean to use your CA certificate and key with the server? I
suppose you're using a self-signed certificate, right?
What are the server log entries for the connection?
Cheers,
Alex
On Thu, Aug 11, 2011 at 06:50:33AM -0700, Dan B wrote:
> Hi Abhijit,
>
> I've spent hours wrestling with the "The message received was unexpected or
> badly formatted" error. I was using SSL with .Net on Windows (rather than
> Mono on Linux which is where the docs come from.)
>
> I converted all the certifications to .pem format using OpenSSL.
>
> My config looks like this:
>
> [
> {rabbit, [
> {ssl_listeners, [5671]},
> {ssl_options, [{cacertfile,"C:/CAConfig/publicCertificate.pem"},
> {certfile,"C:/CAConfig/publicCertificate.pem"},
> {keyfile,"C:/CAConfig/private.pem"},
> {verify,verify_peer},
> {fail_if_no_peer_cert,true}]}
> ]}
> ].
>
> Hope that helps!
>
> -Dan
More information about the rabbitmq-discuss
mailing list