postwait / node-amqp

[UNMAINTAINED] node-amqp is an AMQP client for nodejs
MIT License
1.69k stars 357 forks source link

Support array of CA files when using tls. #389

Closed OJezu closed 9 years ago

OJezu commented 9 years ago

I need to supply a CA certificate chain to TLS connection (Self-signed root CA cert -> certificate used for internal connections only). Node TLS server does not support multiple certificates in one file, it rather accepts an array of certificates. However node-amqp only accepts one CA file path and using an array will cause an error.

OJezu commented 9 years ago

Potential fix in OhJeez/node-amqp@7b8572eb . I will create PR as soon as I test it.