Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

TLS transport fails for self-signed certificates #550

Closed
accelerated opened this Issue Apr 30, 2013 · 0 comments

Comments

Projects
None yet
2 participants

Because of this issue in Node which changed rejectUnauthorized from default false to true (see joyent/node#3949), the TLS negotiation fails for self-signed certificates. Using any kind of transport which utilizes XMLHttpRequest module, fails because no options are passed to the HTTPS request. See same issue opened for XMLHttpRequest here (driverdan/node-XMLHttpRequest#55).

Consider passing HTTP/HTTPS options in the Connect function and propagate them to each transport adaptor (poll, ws, flash) object being instantiated all the way to the XmlHttpRequest. The option object can also contain a custom Agent. I believe this custom agent was also requested for this module.

@rauchg rauchg closed this Nov 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment