Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to ignore https certificate validation #26

Closed
jrluis opened this issue May 28, 2015 · 1 comment
Closed

Add option to ignore https certificate validation #26

jrluis opened this issue May 28, 2015 · 1 comment

Comments

@jrluis
Copy link

jrluis commented May 28, 2015

Hi,

While trying to connect to a web server with self signed certificates, the connection is refused, because the certificates don't validate.

Can an option to ignore the certificate validation be added?

Regards

@Rob--W
Copy link
Owner

Rob--W commented May 28, 2015

The canonical (Node.js) way of disabling certificate validation is by setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to 0.

Someone else asked the same question at #16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants