[rabbitmq-discuss] SSL

Simon MacMullen simon at rabbitmq.com
Tue Apr 9 13:46:43 BST 2013


On 09/04/13 12:13, SAG - Jonathan Andrés wrote:
> I use the next code to connect to the server:
>
> 	ConnectionFactory factory = new ConnectionFactory();
> 	factory.setHost("localhost");
>
> But the server cert was not emitted for localhost. Maybe this is the problem? What URL should be used to issue the certificate? localhost?

OK, now I'm confused. Looking back at your original post I see you ware 
using this certificate for the client. In that case I must be missing 
the certificate you are using for the server. I note that trying to use 
the same cert for both gives the error "Extended key usage does not 
permit use for TLS server authentication" - which suggests that the cert 
really is a client cert.

So can you send the certificate / key you are using on the server side?

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, VMware


More information about the rabbitmq-discuss mailing list