Verify SSL certificates

This commit is contained in:
Omar Roth 2018-03-11 10:43:34 -05:00
parent 6795c183af
commit 496a8bf67b

View File

@ -257,7 +257,6 @@ end
def make_client(url)
context = OpenSSL::SSL::Context::Client.new
context.verify_mode = OpenSSL::SSL::VerifyMode::NONE
context.add_options(
OpenSSL::SSL::Options::ALL |
OpenSSL::SSL::Options::NO_SSL_V2 |