LoginSignup
0
0

More than 5 years have passed since last update.

Trouble when using google drive api on Ruby on Rails

Posted at

I'm using google/api_client for testing google drive service. When my rails app tried to authorize, on ssl ,the trouble occurred.
[Error Message]
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
I solved it like it.
1. Download the CA file from http://curl.haxx.se/ca/cacert.pem and copy it to /usr/local/etc/openssl/certs/ .
2. Add "export SL_CERT_FILE=/usr/local/etc/openssl/certs/cacert.pem" to ~/.bash_profile so that apps can it pick up.

[End]

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0