class Chef::HTTP::VerifyNoneSSLPolicy

This policy is used when we want to explicitly turn off verification for a specific request regardless of the API Policy. For example, when doing a ‘remote_file` where the user specified `verify_mode :verify_none`

Public Instance Methods

set_verify_mode() click to toggle source
# File lib/chef/http/ssl_policies.rb, line 164
def set_verify_mode
  http_client.verify_mode = OpenSSL::SSL::VERIFY_NONE
end