Class: WinRM::HTTP::HttpSSL
- Inherits:
-
HttpTransport
- Object
- HttpTransport
- WinRM::HTTP::HttpSSL
- Defined in:
- lib/winrm/http/transport.rb
Overview
Uses SSL to secure the transport
Instance Attribute Summary
Attributes inherited from HttpTransport
Instance Method Summary (collapse)
-
- (HttpSSL) initialize(endpoint, user, pass, ca_trust_path = nil, opts)
constructor
A new instance of HttpSSL.
Methods inherited from HttpTransport
#basic_auth_only!, #no_sspi_auth!, #send_request
Constructor Details
- (HttpSSL) initialize(endpoint, user, pass, ca_trust_path = nil, opts)
A new instance of HttpSSL
76 77 78 79 80 81 82 |
# File 'lib/winrm/http/transport.rb', line 76 def initialize(endpoint, user, pass, ca_trust_path = nil, opts) super(endpoint) @httpcli.set_auth(endpoint, user, pass) @httpcli.ssl_config.set_trust_ca(ca_trust_path) unless ca_trust_path.nil? no_sspi_auth! if opts[:disable_sspi] basic_auth_only! if opts[:basic_auth_only] end |