Skip to content

Instantly share code, notes, and snippets.

@cleytonmessias cleytonmessias/openssh.bash Secret
Created Mar 1, 2016

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

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
You can’t perform that action at this time.