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

后端 未结 3 1444
不思量自难忘°
不思量自难忘° 2021-01-23 00:46

I tried to put verify_ssl=>false to the request, but it doesn\'t work.

Below is my code:

def login_request (username, password)
  reques         


        
3条回答
  •  深忆病人
    2021-01-23 01:23

    please use RestClient::Request.execute(method: :get, url: url, headers: headers, verify_ssl: false)

    verify_ssl is not accepted in RestCient.method

提交回复
热议问题