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

While installing npm on wsl (ubuntu-22.04), getting curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it #378

Closed
minaketank opened this issue Jul 28, 2024 · 3 comments

Comments

@minaketank
Copy link

Trying to install npm on my wsl (ubuntu-22.04). But getting the below issue:
command:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash

Error:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL certificate problem: self-signed certificate in certificate chain
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

@minaketank
Copy link
Author

solved it by adding --insecure

@minaketank
Copy link
Author

But now while trying run below
nvm install 22

getting
Version '22' not found - try nvm ls-remote to browse available versions.

@gptlang
Copy link
Member

gptlang commented Jul 28, 2024

Open a report with nvm. Not our problem

@gptlang gptlang closed this as not planned Won't fix, can't repro, duplicate, stale Jul 28, 2024
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

2 participants