Changed verify_mode to OpenSSL::SSL::VERIFY_NONE