Sha256: 64f1b86e6910b05507d2f9a183c747624243b39318f7267e993c12708a164b2d

Contents?: true

Size: 321 Bytes

Versions: 429

Compression:

Stored size: 321 Bytes

Contents

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

Version data entries

429 entries across 429 versions & 3 rubygems

Version Path
puppet-5.5.22 lib/puppet/ssl/validator/no_validator.rb
puppet-5.5.22-x86-mingw32 lib/puppet/ssl/validator/no_validator.rb
puppet-5.5.22-x64-mingw32 lib/puppet/ssl/validator/no_validator.rb
puppet-5.5.22-universal-darwin lib/puppet/ssl/validator/no_validator.rb
puppet-5.5.21 lib/puppet/ssl/validator/no_validator.rb
puppet-5.5.21-x86-mingw32 lib/puppet/ssl/validator/no_validator.rb
puppet-5.5.21-x64-mingw32 lib/puppet/ssl/validator/no_validator.rb
puppet-5.5.21-universal-darwin lib/puppet/ssl/validator/no_validator.rb
puppet-5.5.20 lib/puppet/ssl/validator/no_validator.rb
puppet-5.5.20-x86-mingw32 lib/puppet/ssl/validator/no_validator.rb
puppet-5.5.20-x64-mingw32 lib/puppet/ssl/validator/no_validator.rb
puppet-5.5.20-universal-darwin lib/puppet/ssl/validator/no_validator.rb
puppet-5.5.19 lib/puppet/ssl/validator/no_validator.rb
puppet-5.5.19-x86-mingw32 lib/puppet/ssl/validator/no_validator.rb
puppet-5.5.19-x64-mingw32 lib/puppet/ssl/validator/no_validator.rb
puppet-5.5.19-universal-darwin lib/puppet/ssl/validator/no_validator.rb
puppet-5.5.18 lib/puppet/ssl/validator/no_validator.rb
puppet-5.5.18-x86-mingw32 lib/puppet/ssl/validator/no_validator.rb
puppet-5.5.18-x64-mingw32 lib/puppet/ssl/validator/no_validator.rb
puppet-5.5.18-universal-darwin lib/puppet/ssl/validator/no_validator.rb