Skip to content

Verify certificate fails #22

@Kulgar

Description

@Kulgar

Hello,

I'm having the following issue on windows:

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

Ruby code:

url = Googl.shorten(row["lien_linkedin"], "IP", @google_key)
row["short_linkedin"] = url.short_url

Everything works fine if I set OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
But I would rather not set that... :)

Would you know why? Strange thing is that it happens only on windows...

If I can help you in any way, let me know.
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions