Skip to content
instance method

OpenSSL::SSL::SSLSocket#cert

() -> ::OpenSSL::X509::Certificate?
ssl.cert => cert or nil

The X509 certificate for this socket endpoint.