[rabbitmq-discuss] facing issues with the SSL implementations with RabbitMQ + Windows + .Net
Alexandru Scvorţov
alexandru at rabbitmq.com
Wed Aug 10 11:40:00 BST 2011
> > AMQP server protocol negotiation failure: server version
> > unknown-unknown, client version 0-9
That means the client connected successfully but closed the connection
later because it wasn't talking to an AMQP server.
That means that the client and certificates are fine, so the problem is
configuring the server.
When you try the other command (the openssl s_client) on the server,
what output do you get? Could you please post it?
Alex
On Wed, Aug 10, 2011 at 04:00:26PM +0530, Abhijit wrote:
> yes sir
> no problem i thought so after looking at client cmd lines i did put
> slash instead of dot, and now am getting this errors:
>
> > AMQP server protocol negotiation failure: server version
> > unknown-unknown, client version 0-9
>
> Can you tell me what are next steps?
>
> Thanks and Regards,
> Abhijit
>
>
> On 8/10/2011 3:57 PM, Alexandru Scvorţov wrote:
> >> Am still getting the same error am using the same config file.
> >>
> > Ok, but are you sure it's actually the file used by the server? (we had
> > some problems earlier about which file the server was using when started
> > from the command prompt or as a service)
> >
> >
> >>> openssl s_server -accept 5671 -CAfile testca/cacert.pem -cert
> >>> server/cert.pem -key server.key.pem -state
> >>>
> > My mistake. That should be:
> > openssl s_server -accept 5671 -CAfile testca/cacert.pem -cert
> > server/cert.pem -key server/key.pem -state
> >
> > (dot instead of slash in server.key.pem)
> >
> > BTW, if they're disposable, could you send the certificates and keys?
> > We've had problems before with the certificates generated by OpenSSL,
> > which were usually solved by using a different version. Maybe this is
> > happening here.
> >
> > Cheers,
> > Alex
> >
> > On Wed, Aug 10, 2011 at 03:46:39PM +0530, Abhijit wrote:
> >
> >> hi sir,
> >>
> >> Am still getting the same error am using the same config file.
> >>
> >> But i was not able to run this command you sent me:
> >>
> >>
> >>> openssl s_server -accept 5671 -CAfile testca/cacert.pem -cert
> >>> server/cert.pem -key server.key.pem -state
> >>>
> >> was getting an error: unable to load server certificate private key file.
> >>
> >> Thanks and Regards,
> >> Abhijit
> >>
> >>
> >>
>
More information about the rabbitmq-discuss
mailing list