Skip to content

TLS transport fails for self-signed certificates #550

@accelerated

Description

@accelerated

Because of this issue in Node which changed rejectUnauthorized from default false to true (see nodejs/node-v0.x-archive#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions