jondkinney/docusign_rest

SSL problem certificate verify failed

Closed this issue · 3 comments

Playing on my localhost-ubuntu-ruby 2.0.0 and developer account on docusign.

After bundle exec rake docusign_rest:generate_config
and providing username,password and integrator key i got this:

SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

I am lost, what i am missing?

ok, this worked for me:

SSL_CERT_FILE=~/.rvm/usr/ssl/cert.pem bundle exec rake docusign_rest:generate_config

Am I good to go like that to use this gem?

All the generate_config does is help you create the initializer file more easily than having to do it manually, if that command worked to generate the file then you should be good to go. However, for normal use of this gem, I'd recommend pointing your gemfile at the master branch of this repo (where the latest changes and fixes are) since the current version of the gem on rubygems is a bit outdated. I haven't had a chance just yet to deploy out a new version.

Allright, i just realized that gem was not working still throwing the same error. It's machine specific and i fix that:

rvm pkg install openssl
rvm reinstall 2.0.0 --with-openssl-dir=$rvm_path/usr

from

http://stackoverflow.com/questions/4528101/ssl-connect-returned-1-errno-0-state-sslv3-read-server-certificate-b-certificat

Thank you!