[rabbitmq-discuss] SSL

SAG - Jonathan Andrés jandres at omie.es
Tue Apr 9 12:13:32 BST 2013


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?

Thank you!
 





-----Mensaje original-----
De: Simon MacMullen [mailto:simon at rabbitmq.com] 
Enviado el: martes, 09 de abril de 2013 12:56
Para: SAG - Jonathan Andrés
CC: rabbitmq-discuss
Asunto: Re: [rabbitmq-discuss] SSL

I believe that's still the server side cert. Can you send my the cert your client is using?

Cheers, Simon

On 09/04/13 11:50, SAG - Jonathan Andrés wrote:
> Yes,
>
> I can give you the certificate (is just for testing). The password is 
> 1234
>
> I can use the certificate in others SSL connections (HTTPS) without problems. And I can establish the SSL connection with OpenSSL:
>
> 	openssl s_server -accept 8443 ....
> 	openssl s_client -connect localhost:8443 .....
>
> Do you think there is something wrong in the certificate?
>
> Thank you again!
>
>
> -----Mensaje original-----
> De: Simon MacMullen [mailto:simon at rabbitmq.com] Enviado el: martes, 09 
> de abril de 2013 12:43
> Para: SAG - Jonathan Andrés
> CC: Discussions about RabbitMQ
> Asunto: Re: [rabbitmq-discuss] SSL
>
> On 09/04/13 11:36, SAG - Jonathan Andrés wrote:
>>                       {verify,verify_peer},
>>                       {fail_if_no_peer_cert,true}]}
>
> Ah. So maybe the problem is with the client cert? Can you give me the corresponding client cert / key?
>
> Cheers, Simon
>
> --
> Simon MacMullen
> RabbitMQ, VMware
>


--
Simon MacMullen
RabbitMQ, VMware


More information about the rabbitmq-discuss mailing list