Module: SSLGate::SSLRawAddOn
- Defined in:
- lib/ssl_gate/raw_ssl.rb
Instance Method Summary collapse
- #post_init ⇒ Object
-
#ssl_handshake_completed ⇒ Object
def ssl_verify_peer(cert) true end.
Instance Method Details
#post_init ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/ssl_gate/raw_ssl.rb', line 3 def post_init super start_tls private_key_file: @config[:private_key_file], cert_chain_file: @config[:cert_chain_file] # verify_peer: true, # fail_if_no_peer_cert: true end |
#ssl_handshake_completed ⇒ Object
def ssl_verify_peer(cert)
true
end
15 16 17 |
# File 'lib/ssl_gate/raw_ssl.rb', line 15 def ssl_handshake_completed $server_handshake_completed = true end |