Method SSL.sslfile()->get_peer_certificates() Method get_peer_certificates array get_peer_certificates() Returns Returns the peer certificate chain, if any.