Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6090289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:11:51+00:00 2026-05-23T12:11:51+00:00

The Solution I used Bruno’s post to find the solution, but feel that it

  • 0

The Solution

I used Bruno’s post to find the solution, but feel that it needs to be made more concrete, so this is explicitly what I did.

  1. Downloaded cacert.pem into my ~/.ssh dir (I don’t know if this is where it should go, but I saw someone do something similar while trying to find a solution, so this is where I put it).
  2. Set the env var CURL_CA_BUNDLE for the installation. This is actually solution number 4 from the website suggested by the failure. I just misunderstood what they were saying (a simple example might have saved me hours of confusion). Anyway, you’ll need to specify the full path to the .pem file, then you can install like this $ CURL_CA_BUNDLE=~/.ssh/cacert.pem ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" And then it is installed!

The Original Question

How do I either

  1. install homebrew, or
  2. install curl with SSL so that I can install homebrew?

I’m on Mac OSX Leopard.

I’m trying to install homebrew, but I get the following error:

$ ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/Formula/...
/usr/local/Library/Homebrew/...
==> The following directories will be made group writable:
/usr/local/bin
/usr/local/lib
/usr/local/lib/pkgconfig
/usr/local/share/man/man1
/usr/local/share/man/man3

Press enter to continue
==> /usr/bin/sudo /bin/chmod g+w /usr/local/bin /usr/local/lib /usr/local/lib/pkgconfig /usr/local/share/man/man1 /usr/local/share/man/man3
==> Downloading and Installing Homebrew...
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). The default
 bundle is named curl-ca-bundle.crt; 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.

gzip: stdin: unexpected end of file
/usr/bin/tar: Child returned status 1
/usr/bin/tar: Error exit delayed from previous errors
Failed during: /bin/bash -o pipefail -c '/usr/bin/curl -sSfL https://github.com/mxcl/homebrew/tarball/master | /usr/bin/tar xz -m --strip 1'

I tried installing curl with macports and specifying +ssl, but that didn’t work (sorry, I don’t remember what the error was, and it took about an hour to get to that point, so I don’t want to do it again). I uninstall the curl from macports and then run $ whereis curl which finds nothing.

So I go to the site suggested in the error message above. Most of the options don’t seem applicable, but option 5 makes some sense:

Get a better/different/newer CA cert bundle!
One option is to extract the one a recent Firefox browser uses
by running ‘make ca-bundle’ in the curl build tree root

So I get the curl source code and run $ ./buildconf, $ ./configure, $ make, $ make ca-bundle, and finally $ sudo make install. I check $ whereis curl and it says “/usr/bin/curl”.

But when I run the homebrew install command again (in a new terminal window), I get the same error shown above.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T12:11:51+00:00Added an answer on May 23, 2026 at 12:11 pm

    You don’t need to recompile cURL, it already has SSL/TLS support, otherwise, it wouldn’t display error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed.

    What you need is a bundle of CA certificates such as the server certificate of the server you’re trying to talk to is issued by one of those CAs.

    The cURL page you link from links to http://curl.haxx.se/docs/caextract.html

    You should be able to download the combined PEM bundle and use it. You could force it using curl -fsSL --cacert /path/to/bundle.pem https://... in the command above, or use export CURL_CA_BUNDLE=/path/to/bundle.pem before running the command.

    Normally, you’d need a way to trust what’s inside this bundle, but there’s always an element of “leap of faith” when it comes to importing commercial CAs (in the same way as they would be bundled for you with most browsers).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Solution: I've misinterpreted the example from SQL Books Online. Yes, that below the section
The solution is crying out for the MSMQ solution but unfortunately the posting service
Our solution has a lot of todo comments, but unfortunately it seems the only
I just wanted to compare different solutions used when implementing ACLs in Rails.
Solution -- WorkflowProject   -- Workflow1   -- Workflow2 -- WebProject (WAP)   -- App_Data     -- MyDatabase.vdb3
Solution to original problem (below) may have been discovered. I commented out <identity> ...
Solution for writing a program for keep secret photos. I have many secret photos
Programmatic solution of course...
The solution we developed uses a database (sqlserver 2005) for persistence purposes, and thus,
my solution has multiple projects and in one of them I have the code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.