ruby ssl_connect returned 1 errno 0 state sslv3 error

Asked 2 years ago, Updated 2 years ago, 28 views

I'm using Ruby to crawl. Originally, I worked on a web IDE called cloud9, but when I moved it locally,

The message ssl_connect returned 1 errno 0 state sslv3 read server certificate B: certificate verify failed PoenSSL:SSL:SSL:SSL:SSL:SSL:SSL/rror> was displayed.

Can you tell me how to solve it?

ruby

2022-09-22 21:40

1 Answers

I don't know what code you used, but when I searched with an error message,

OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE

There's a comment that says this will solve the problem.

More details are available here.


2022-09-22 21:40

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.