require 'openssl' require 'puppet/ssl' # Performs no SSL verification # @api private # class Puppet::SSL::Validator::NoValidator < Puppet::SSL::Validator def setup_connection(connection) connection.verify_mode = OpenSSL::SSL::VERIFY_NONE end def peer_certs [] end def verify_errors [] end end