Sha256: 92b365f3f50e7e52e1daa916fe3452c5424ccc7fa18f906149cf4a30c4d9ed8c

Contents?: true

Size: 281 Bytes

Versions: 24

Compression:

Stored size: 281 Bytes

Contents

# 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

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
puppet-3.4.1 lib/puppet/ssl/validator/no_validator.rb
puppet-3.4.0 lib/puppet/ssl/validator/no_validator.rb
puppet-3.4.0.rc2 lib/puppet/ssl/validator/no_validator.rb
puppet-3.4.0.rc1 lib/puppet/ssl/validator/no_validator.rb