Class: Puppet::SSL::Validator::NoValidator Private
- Inherits:
-
Puppet::SSL::Validator
- Object
- Puppet::SSL::Validator
- Puppet::SSL::Validator::NoValidator
- Defined in:
- lib/puppet/ssl/validator/no_validator.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Performs no SSL verification
Instance Method Summary collapse
- #peer_certs ⇒ Object private
- #setup_connection(connection) ⇒ Object private
- #verify_errors ⇒ Object private
Methods inherited from Puppet::SSL::Validator
default_validator, no_validator
Instance Method Details
#peer_certs ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
13 14 15 |
# File 'lib/puppet/ssl/validator/no_validator.rb', line 13 def peer_certs [] end |
#setup_connection(connection) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
9 10 11 |
# File 'lib/puppet/ssl/validator/no_validator.rb', line 9 def setup_connection(connection) connection.verify_mode = OpenSSL::SSL::VERIFY_NONE end |
#verify_errors ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
17 18 19 |
# File 'lib/puppet/ssl/validator/no_validator.rb', line 17 def verify_errors [] end |