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

curl error on windows subsystem for Linux #3881

Open
drc-infinyon opened this issue Feb 28, 2024 · 5 comments
Open

curl error on windows subsystem for Linux #3881

drc-infinyon opened this issue Feb 28, 2024 · 5 comments
Assignees
Labels
no-stale Opt-out of closing issue due to no activity

Comments

@drc-infinyon
Copy link
Contributor

curl -fsS https://hub.infinyon.cloud/install/install.sh | bash
curl: (60) SSL certificate problem: unable to get local issuer certificate
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.

Originally posted by @kharabela in #3880 (reply in thread)

@drc-infinyon drc-infinyon changed the title curl -fsS https://hub.infinyon.cloud/install/install.sh | bash curl error on windows subsystem for Linux Feb 28, 2024
@drc-infinyon drc-infinyon self-assigned this Feb 28, 2024
@digikata
Copy link
Contributor

digikata commented Feb 28, 2024

Some WSL systems seem to have a curl installed that don't seem to reference the system ca cert chain, you can install or configure one for curl. Other frequent Windows issues seem to be firewalls setup to block certain certificate authoritty chains (ca).

This link seems to go through a number of different windows curl certificate issues and how to resolve them. One of the simpler resolutions to try might be to verify that /etc/ssl/certs/ca-certificates.crt exists on your system and explictly reference it for curl.

export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
curl -fsS https://hub.infinyon.cloud/install/install.sh | bash

Other workarounds are to use another cli download utility such as wget, or even open 'https://hub.infinyon.cloud/install/install.sh' from the browser, save install.sh and run it directly via bash install.sh

@sehz
Copy link
Contributor

sehz commented Feb 28, 2024

is this WSL or WSL2?

@kharabela
Copy link

is this WSL or WSL2?

Windows 11-WSL2

@sehz
Copy link
Contributor

sehz commented Mar 18, 2024

maybe this issue is relevant? microsoft/WSL#8358

Copy link

Stale issue message

@morenol morenol added no-stale Opt-out of closing issue due to no activity and removed no-issue-activity labels May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-stale Opt-out of closing issue due to no activity
Projects
None yet
Development

No branches or pull requests

5 participants