Skip to content

SSL Requests on server with invalid Certificate, rejectUnauthorized param not supported. #115

@ghost

Description

Would be nice to support the rejectUnauthorized param in the options object like the https module does (0.10), this is usefull when testing with dev servers that doesn't have valid certificate.

I've made a simple fix localy at line 87:
rejectUnauthorized: this.options.rejectUnauthorized ? this.options.rejectUnauthorized : true
using it:
rest.get(url, {rejectUnauthorized: false})

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions