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

Is cafile config ignored in .npmrc ? #1041

Closed
b6pzeusbc54tvhw5jgpyw8pwz2x6gs opened this issue Oct 14, 2016 · 2 comments
Closed

Is cafile config ignored in .npmrc ? #1041

b6pzeusbc54tvhw5jgpyw8pwz2x6gs opened this issue Oct 14, 2016 · 2 comments

Comments

@b6pzeusbc54tvhw5jgpyw8pwz2x6gs

nodejs v4.4.7

My .npmrc file have cafile=/cert/file/path.crt
But Yarn seem to ignore it.

refer the below error log

yarn add v0.15.1
info No lockfile found.
[1/4] Resolving packages...
error unable to verify the first certificate
    at Error (native)
    at TLSSocket.<anonymous> (_tls_wrap.js:1017:38)
    at emitNone (events.js:67:13)
    at TLSSocket.emit (events.js:166:7)
    at TLSSocket._init.ssl.onclienthello.ssl.oncertcb.TLSSocket._finishInit (_tls_wrap.js:582:8)
    at TLSWrap.ssl.onclienthello.ssl.oncertcb.ssl.onnewsession.ssl.onhandshakedone (_tls_wrap.js:424:38)
info Visit http://yarnpkg.com/en/docs/cli/add for documentation about this command.
@FLGMwt
Copy link
Contributor

FLGMwt commented Oct 14, 2016

Which .npmrc file? Can you run yarn config list and dump the output?

@sebmck
Copy link
Contributor

sebmck commented Oct 14, 2016

We don't currently support cafile. We have #736 open that should be merged soon.

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

4 participants