module SSLGate::SSLRawAddOn

Public Instance Methods

post_init() click to toggle source
Calls superclass method
# 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() click to toggle source

def ssl_verify_peer(cert)

true

end

# File lib/ssl_gate/raw_ssl.rb, line 15
def ssl_handshake_completed
  $server_handshake_completed = true
end