Skip to content

SSL Error communicating with MindBody API

qmclaugh edited this page Nov 21, 2013 · 1 revision

In case someone else encounters the issue I had - I was getting an SSL error attempting to connect to the MindBody API from my OSX Mavericks development environment. Googling found that apparently Ruby's root certificates are outdated.

http://railsapps.github.io/openssl-certificate-verify-failed.html

I solved this by downloading a new .pem file:

$ cd ~
$ sudo curl -O http://curl.haxx.se/ca/cacert.pem

and then adding this line to my ~/.bash_profile:

export SSL_CERT_FILE=~/cacert.pem

Not directly relevant perhaps but I encountered it, so perhaps someone else will.