abreits / node-red-contrib-amqp

Node-RED AMQP input and output nodes
16 stars 18 forks source link

SSL Configuration Options not working #18

Open mfalkinen opened 5 years ago

mfalkinen commented 5 years ago

I have a RabbitMQ server configured to run over SSL that I am trying to connect to and it is not working. The RabbitMQ server is currently configured to accept any certificate and it works perfectly well with regular NodeJS using amqplib package.

But I just can't get SSL working for this Node-RED implementation. I have tried all kind of options and the closest I get to success is the error message "AMQP input node connect error: unable to verify the first certificate". Copy/pasted certificate (and tried several different ones) into the credentials.

My RabbitMQ server logs says the following: 2019-01-24 20:11:01.987 [debug] <0.629.0> accepting AMQP connection <0.629.0> (127.0.0.1:42118 -> 127.0.0.1:5671) 2019-01-24 20:11:01.987 [debug] <0.629.0> closing AMQP connection <0.629.0> (127.0.0.1:42118 -> 127.0.0.1:5671): connection_closed_with_no_data_received

Any possibility of some guidance if I am doing something wrong?

mikesmithurbangro commented 5 years ago

Package now works with correctly setup certificate on server side. If still not working for you, could you present your working NodeJS+amqplib code, as that might shed light on your issue.