[rabbitmq-discuss] Connecting to RabbitMQ on Windows Server Using Wildcard Cert with .NET Client Using SSL
richmiller167 at gmail.com
Wed Mar 20 21:04:09 GMT 2013
We were successful in getting the SSL communications between our .NET
client and RabbitMQ working by following the steps described on the
RabbitMQ website to use OpenSSL to self-generate certificates and keys. We
will be spending a bit more time researching how we can incorporate our
wildcard certificate at some point, but I don't believe our requirements
will be broken if we go to production with the self-generated certificate,
as this server is non-Internet-facing. I'd be happy to share some of our
experiences and what we discovered if anyone needs any information.
On Wednesday, March 20, 2013 1:40:27 PM UTC-4, Rich Miller wrote:
> The title pretty much says it all. I'm trying quite unsuccessfully to get
> to a RabbitMQ server running as a service on Windows Server 2008 R2 using a
> .NET client. Server is using a wildcard certificate issued by GeoTrust.
> GeoTrust is listed in my Trusted Root Certificate Authorities on the
> client box. I'm simply trying to set up an SSL connection between the
> client and the server, not trying to authenticate using a certificate.
> I've read the docs on the RabbitMQ website and several other blog posts
> about setting this up, but I've had no success.
> Typical error messages reported by the client include "Authentication
> failed because the remote party has closed the transport stream" and
> "Cannot find the requested object" (after trying to pass a .key file in as
> the cert file).
> RabbitMQ Server is 2.7.1 and Erlang is R15B03-1. Client code looks
> basically like this:
> ' configure the connection factory
> Me.Factory.HostName = hostName
> Me.Factory.VirtualHost = virtualHostName
> Me.Factory.UserName = userName
> Me.Factory.Password = password
> Me.Factory.Protocol = Protocols.AMQP_0_9_1
> Me.Factory.Port = AmqpTcpEndpoint.DefaultAmqpSslPort
> Me.Factory.Ssl.ServerName = hostName
> Me.Factory.Ssl.CertPath =
> Me.Factory.Ssl.CertPassphrase = "thepassphrase"
> Me.Factory.Ssl.Enabled = True
> ' create the connection using the factory
> Return Me.Factory.CreateConnection()
> I'd appreciate any tips or pointers from anyone who has successfully made
> the SSL connection from .NET client to RabbitMQ server running on Windows.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss