-
Notifications
You must be signed in to change notification settings - Fork 34
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
DEPTH_ZERO_SELF_SIGNED_CERT #32
Comments
Hi. Is the URL relevant, or can it be reproduced with any self-sign cert? |
I think it can be reproduced, looking here: request/request#418 -- but I didnt' test myself |
Yep, bad documentation is bad. Sorry about that. Dropped the ball white writing the jsdoc block. The source code reads: if (this.options.noSslVerifier !== true) {
this.reqOpt.rejectUnauthorized = true;
} else {
this.reqOpt.rejectUnauthorized = false;
} The correct option key is noSslVerifier. Can you please recheck if it works with this option? |
noSslVerifier sems to work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting DEPTH_ZERO_SELF_SIGNED_CERT errors despite using "noSslValidation" option:
The stack trace:
I've also exported NODE_TLS_REJECT_UNAUTHORIZED=0 but have the same problem.
Node version is v0.10.26
The text was updated successfully, but these errors were encountered: