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 options to set location for CA file #122

Open
Kiarashz opened this issue Jun 11, 2020 · 1 comment
Open

Add options to set location for CA file #122

Kiarashz opened this issue Jun 11, 2020 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Kiarashz
Copy link

When setting download location with --download option, https URLs with self-signed certificates can not be accessed failing with the following error.

 prebuild-install WARN install unable to verify the first certificate

The code seems not to respect NPM configuration for cafile and does not provide its own option too.

@vweevers
Copy link
Member

PR is welcome. I'm assuming it would be a few lines of code, reading something like process.env.npm_config_cafile and passing it to the request.

@vweevers vweevers added enhancement New feature or request good first issue Good for newcomers labels Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants