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

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

verify_ssl
 is not accepted in RestCient.method
  1. RestCient.method 方式不支持verify_ssl
  2. 使用 RestCient.Request.execute 的方式即可解决

你可能感兴趣的:(RestClient::SSLCertificateNotVerified: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed:)