Link to home
Start Free TrialLog in
Avatar of joaotelles
joaotellesFlag for United States of America

asked on

ERROR OpenSSL::SSL::SSLError: SSL_accept SYSCALL returned=5 errno=0 state=SSLv2/v3 read client hello A /usr/lib/ruby/1.8/openssl/ssl-internal.rb:174:in `accept'

Hi,

Im getting this error while trying to access a https URL.

[2016-01-14 14:42:58] ERROR OpenSSL::SSL::SSLError: SSL_accept SYSCALL returned=5 errno=0 state=SSLv2/v3 read client hello A /usr/lib/ruby/1.8/openssl/ssl-internal.rb:174:in `accept'

Im not knowledgeable in this area but looking around and in the rb file I found this: DEFAULT_PARAMS = { :ssl_version => "SSLv23", :verify_mode => OpenSSL::SSL::VERIFY_PEER, :ciphers => "ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW", :options => OpenSSL::SSL::OP_ALL, }

I treid already to change the ssl_version to TLSv1 and tried to access the URL again but I got the same error...

Any suggestion on how to solve this?

Tks
Avatar of joaotelles
joaotelles
Flag of United States of America image

ASKER

More info:

[root@eastapp1 ~]# wget https://10.216.209.65:2224
--2016-01-14 16:21:05--  https://10.216.209.65:2224/
Connecting to 10.216.209.65:2224... connected.
ERROR: cannot verify 10.216.209.65’s certificate, issued by “/C=US/ST=MN/L=Minneapolis/O=pcsd/OU=pcsd/CN=eastapp1”:
  Self-signed certificate encountered.
    ERROR: certificate common name “eastapp1” doesn't match requested host name “10.216.209.65”.
To connect to 10.216.209.65 insecurely, use ‘--no-check-certificate’.
ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Tks.