Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm debugging some curl ssl configuration stuff and was wondering where the ca cert bundle is installed on OSX.

share|improve this question
up vote 1 down vote accepted

I'm pretty sure there isn't one.

Install curl via MacPorts to get one.

You can probably use Fink or Homebrew as alternatives to MacPorts if you prefer.

Mac OS X's own Security Framework, used by Cocoa apps and the like, uses the Mac OS X Keychain-format files in...

~/Library/Keychains/ find trusted CA certs. I doubt Mac OS X's built-in curl has been modified to use those Keychain files though, so I'm not sure why Apple doesn't ship a CA cert bundle for curl.

share|improve this answer
After some digging, I would guess that curl uses the keychain certs because otherwise I'd have to use -k for everything. Thanks for pointing me at the keychains. I'm not really familiar with that part of OSX. I also discovered that you can export certs from keychains using the security tool. – Baroquebobcat Feb 23 '11 at 19:40
wget installed with MacPorts doesn't. I'm trying to find where it is. – vy32 Mar 26 '11 at 17:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.