devbox icon indicating copy to clipboard operation
devbox copied to clipboard

Error on installation : WSL and windows 10 curl command. SSL code 60

Open quoidautre opened this issue 1 year ago • 0 comments

What happened?

Hello,

When I try to just install devbox, I've this issue :

curl -fsSL https://get.jetify.com/devbox | 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.

so,

$ curl -fsSL --insecure  https://get.jetify.com/devbox | bash
Devbox 📦 by Jetify
  Instant, easy and predictable development environments.

  This script downloads and installs the latest devbox binary.

Confirm Installation Details
  Location:     /usr/local/bin/devbox
  Download URL: https://releases.jetify.com/devbox

? Install devbox to /usr/local/bin (requires sudo)? [Y/n] y

Downloading and Installing
→ Downloading devbox binary...
✘ Command failed (exit code 60): curl --fail --silent --location --output /tmp/tmp.kLNkz8Hvuc https://releases.jetify.com/devbox

If I download the certificate from curl, and add in the command line, same issue.

I'm also need to use wsl-vpnkit to access on get.jetify.com with WSL

Have you an idea ? Thanks F

Steps to reproduce

  1. curl -fsSL https://get.jetify.com/devbox | bash
  2. curl -fsSL --insecure https://get.jetify.com/devbox | bash

Command

No response

devbox.json

No response

Devbox version

no version

Nix version

No response

What system does this bug occur on?

Other (please include in the description above)

Debug logs

Windows 10 on WSL 2

quoidautre avatar Jul 23 '24 08:07 quoidautre