Skip to content

Instantly share code, notes, and snippets.

@cleytonmessias
Created March 1, 2016 20:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleytonmessias/e210f21b90db0b5e4215 to your computer and use it in GitHub Desktop.
Save cleytonmessias/e210f21b90db0b5e4215 to your computer and use it in GitHub Desktop.
openssh.bash
brew install openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2g.el_capitan.bottle.tar.gz
curl: (77) SSL: can't load CA certificate file /System/Library/OpenSSL/certs/cert.pem
Error: Failed to download resource "openssl"
Download failed: https://homebrew.bintray.com/bottles/openssl-1.0.2g.el_capitan.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Installing dependencies for openssl: makedepend
==> Installing openssl dependency: makedepend
==> Downloading https://homebrew.bintray.com/bottles/makedepend-1.0.5.el_capitan.bottle.tar.gz
curl: (77) SSL: can't load CA certificate file /System/Library/OpenSSL/certs/cert.pem
Error: Failed to download resource "makedepend"
Download failed: https://homebrew.bintray.com/bottles/makedepend-1.0.5.el_capitan.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Installing dependencies for makedepend: pkg-config
==> Installing makedepend dependency: pkg-config
==> Downloading https://homebrew.bintray.com/bottles/pkg-config-0.29.el_capitan.bottle.tar.gz
curl: (77) SSL: can't load CA certificate file /System/Library/OpenSSL/certs/cert.pem
Error: Failed to download resource "pkg-config"
Download failed: https://homebrew.bintray.com/bottles/pkg-config-0.29.el_capitan.bottle.tar.gz
Warning: Bottle installation failed: building from source.
==> Downloading https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.tar.gz
curl: (77) SSL: can't load CA certificate file /System/Library/OpenSSL/certs/cert.pem
Trying a mirror...
==> Downloading https://fossies.org/linux/misc/pkg-config-0.29.tar.gz
curl: (77) SSL: can't load CA certificate file /System/Library/OpenSSL/certs/cert.pem
Error: Failed to download resource "pkg-config"
Download failed: https://fossies.org/linux/misc/pkg-config-0.29.tar.gz
@bmike
Copy link

bmike commented Mar 1, 2016

Is your curl running from /usr/bin/curl ? Somehow curl is pulling in OpenSSL so you haven't removed all of the broken parts yet...

On my machines, there is no /System/Library/OpenSSL/certs/cert.pem so you might try moving that to /tmp and see if curl works again?

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