Restclient error

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

Errors I am geeting-

This error happens if https is not accepted-

response = RestClient.get(store_url, :user_agent => SITE[:user_agent],
:accept => “/”) do |response, request, result, &block|

ERROR … caught RestClient::SSLCertificateNotVerified: SSL_connect
returned=1 errno=0 state=SSLv3 read server certificate B: certificate
verify failed:

This error happens if https is accepted-

Failed to generate meta tag for sid 304011–caught exception:
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B:
certificate verify failed

No, I have to verify SSL.
If I go with RestClient::Request.execute() do |response, request,
result, &block|
still getting the same error

ERROR … caught RestClient::SSLCertificateNotVerified: SSL_connect
returned=1 errno=0 state=SSLv3 read server certificate B: certificate
verify failed:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs