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

[BUG] does not use cacerts from ~/.npmrc #1278

Closed
2 of 3 tasks
bmarwell opened this issue Mar 13, 2023 · 3 comments
Closed
2 of 3 tasks

[BUG] does not use cacerts from ~/.npmrc #1278

bmarwell opened this issue Mar 13, 2023 · 3 comments

Comments

@bmarwell
Copy link

bmarwell commented Mar 13, 2023

  • I have searched for similar issues
  • I am using the latest version of npm-check-updates
  • I am using node >= 14.14

Steps to Reproduce

  1. create a .npmrc with a cacerts=cafile= entry.
  2. Run check-udpates.

Dependencies:

Current Behavior

cacerts cafile=/path/to/cacerts.pem will be ignored

Expected Behavior

cacerts cafile=/path/to/cacerts.pem from $HOME/.npmrc will be used

@bmarwell
Copy link
Author

This is the root cause of npm-update-package/npm-update-package#1023

@raineorshine
Copy link
Owner

Do you mean ca or cafile? I don't see a cacerts npm config option.

@bmarwell
Copy link
Author

Do you mean ca or cafile? I don't see a cacerts npm config option.

cafile of course, thanks for pointing this out. I got confused with my Java truststore which is called cacerts 😆

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

No branches or pull requests

2 participants