Skip to content

[Bug] unable to get local issuer certificate #2250

@gabor-s

Description

@gabor-s
  • I'd be willing to implement a fix

Describe the bug

I'm behind a corporate proxy, when I issue yarn install I get RequestError: unable to get local issuer certificate. caFilePath is set in .yarnrc.yml. If I set the NODE_EXTRA_CA_CERTS environment variable to the same path (set in caFilePath) then yarn install works perfectly.

To Reproduce

You can't reproduce it because of the corporate proxy.

Environment if relevant (please complete the following information):

  • OS: Windows
  • Node version: 14.15.3
  • Yarn version: 2.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupholdedReal issues without formal reproduction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions