RubyのRestClientでSSL証明書のチェックを無視する

endpoint = 'https://example.com/api_endpoint'
rest_client = RestClient::Resource.new(endpoint, verify_ssl: OpenSSL::SSL::VERIFY_NONE)
response = rest_client.get()

refering to:
- https://github.com/rest-client/rest-client#ssl-client-certificates
- https://qiita.com/kanekoa/items/307693abc7631985bc50

Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account log in.