FiloSottile / homebrew-musl-cross

Homebrew Formula for static-friendly musl-based GCC macOS-to-Linux cross-compilers

Home Page:https://blog.filippo.io/easy-windows-and-linux-cross-compilers-for-macos/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ssl cert is broken

alexeuler opened this issue · comments

brew install FiloSottile/musl-cross/musl-cross
==> Installing musl-cross from filosottile/musl-cross
==> Downloading https://github.com/richfelker/musl-cross-make/archive/v0.9.7.tar.gz
Already downloaded: /Users/aleksejkarasev/Library/Caches/Homebrew/musl-cross-0.9.7.tar.gz
==> Downloading https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.10.tar.xz
Already downloaded: /Users/aleksejkarasev/Library/Caches/Homebrew/musl-cross--linux-4.4.10.tar.xz-4.4.10.tar.xz
==> Downloading https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.4.tar.bz2
Already downloaded: /Users/aleksejkarasev/Library/Caches/Homebrew/musl-cross--mpfr-3.1.4.tar.bz2-3.1.4.tar.bz2
==> Downloading https://ftp.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz
Already downloaded: /Users/aleksejkarasev/Library/Caches/Homebrew/musl-cross--mpc-1.0.3.tar.gz-1.0.3.tar.gz
==> Downloading https://ftp.gnu.org/gnu/gmp/gmp-6.1.1.tar.bz2
Already downloaded: /Users/aleksejkarasev/Library/Caches/Homebrew/musl-cross--gmp-6.1.1.tar.bz2-6.1.1.tar.bz2
==> Downloading https://www.musl-libc.org/releases/musl-1.1.18.tar.gz

curl: (60) SSL certificate problem: Invalid certificate chain
More details here: https://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
Error: Failed to download resource "musl-cross--musl-1.1.18.tar.gz"
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
Error: Failed to download resource "musl-cross--musl-1.1.18.tar.gz"
Download failed: https://www.musl-libc.org/releases/musl-1.1.18.tar.gz

Wrong repo - this is www.musl-libc.org problem