method

peer_cert

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

The X509 certificate for this socket’s peer.