Class: T2Server::InsecureSSLConnectionParameters
- Inherits:
-
ConnectionParameters
- Object
- ConnectionParameters
- T2Server::InsecureSSLConnectionParameters
- Defined in:
- lib/t2-server/net/parameters.rb
Overview
Connection parameters that specifically turn off peer verification when using SSL.
Constant Summary
Constants inherited from ConnectionParameters
ConnectionParameters::ALLOWED_PARAMS
Instance Method Summary collapse
-
#initialize ⇒ InsecureSSLConnectionParameters
constructor
Create connection parameters that are insecure by default and do not verify the server that is connected to.
Methods inherited from ConnectionParameters
Constructor Details
#initialize ⇒ InsecureSSLConnectionParameters
Create connection parameters that are insecure by default and do not verify the server that is connected to.
101 102 103 104 |
# File 'lib/t2-server/net/parameters.rb', line 101 def initialize super self[:verify_peer] = false end |