Skip to content

Instantly share code, notes, and snippets.

@shotgundebugging
Forked from EdgarOrtegaRamirez/ssl.rb
Created January 14, 2021 19:50
Show Gist options
  • Select an option

  • Save shotgundebugging/12208834300cb9b7b0f8048b77143745 to your computer and use it in GitHub Desktop.

Select an option

Save shotgundebugging/12208834300cb9b7b0f8048b77143745 to your computer and use it in GitHub Desktop.
Ruby: Disable OpenSSL certificate verification
require 'openssl'
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment