method

post_connection_check

ruby latest stable - Class: OpenSSL::SSL::SSLSocket
post_connection_check(hostname)
public

Perform hostname verification following RFC 6125.

This method MUST be called after calling #connect to ensure that the hostname of a remote peer has been verified.