class Chef::HTTP::VerifyPeerSSLPolicy

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

Public Instance Methods

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