gcloud ruby - "Standard" Windows fix does not resolve SSL issue. Why? -
i having issues running app locally gcloud on windows 10 machine. following error:
c:/ruby23-x64/lib/ruby/2.3.0/net/http.rb:933:in `connect_nonblock': ssl_connect returned=1 errno=0 state=sslv3 read server certificate b: certificate verify failed (faraday::sslerror) c:/ruby23-x64/lib/ruby/2.3.0/net/http.rb:933:in `connect' c:/ruby23-x64/lib/ruby/2.3.0/net/http.rb:863:in `do_start' c:/ruby23-x64/lib/ruby/2.3.0/net/http.rb:852:in `start' c:/ruby23-x64/lib/ruby/2.3.0/net/http.rb:1398:in `request' c:/ruby23-x64/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:82:in `perform_request' c:/ruby23-x64/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:40:in `block in call' c:/ruby23-x64/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:87:in `with_net_http_connection' c:/ruby23-x64/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:32:in `call' c:/ruby23-x64/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb:15:in `call' c:/ruby23-x64/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response' c:/ruby23-x64/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request' c:/ruby23-x64/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/connection.rb:177:in `post' c:/ruby23-x64/lib/ruby/gems/2.3.0/gems/signet-0.7.2/lib/signet/oauth_2/client.rb:960:in `fetch_access_token' c:/ruby23-x64/lib/ruby/gems/2.3.0/gems/signet-0.7.2/lib/signet/oauth_2/client.rb:998:in `fetch_access_token!' c:/ruby23-x64/lib/ruby/gems/2.3.0/gems/googleauth-0.5.1/lib/googleauth/signet.rb:69:in `fetch_access_token!' c:/ruby23-x64/lib/ruby/gems/2.3.0/gems/gcloud-0.7.2/lib/gcloud/credentials.rb:58:in `initialize' c:/ruby23-x64/lib/ruby/gems/2.3.0/gems/gcloud-0.7.2/lib/gcloud/credentials.rb:84:in `new' c:/ruby23-x64/lib/ruby/gems/2.3.0/gems/gcloud-0.7.2/lib/gcloud/credentials.rb:84:in `default' c:/ruby23-x64/lib/ruby/gems/2.3.0/gems/gcloud-0.7.2/lib/gcloud/datastore.rb:62:in `datastore' c:/ruby23-x64/lib/ruby/gems/2.3.0/gems/gcloud-0.7.2/lib/gcloud.rb:106:in `datastore' app.rb:21:in `<main>'
i have searched answer question. here example of answer question: https://github.com/lostisland/faraday/issues/392
the answer boils down need have pem file , tell ruby environment variable ssl_cert_file.
in case not working.
how fix this???