我在尝试访问https网址时遇到此错误。
[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'
我对这个领域并不了解,但环顾四周并在rb文件中找到了这个:
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,
}
我已经尝试将ssl_version更改为TLSv1并尝试再次访问该URL但我收到同样的错误...
其他信息:
[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’.
关于如何解决这个问题的任何建议?