Return the certificate chain as sent by the peer (not necessarily the verified chain).
STACK_OF(X509) owned by the session (do not free; may be invalidated by renegotiation), or NULL.
| Name | Description |
|---|---|
| s | SSL connection to query; on the server the peer leaf must be obtained separately. |