[#SSL_CTX_get0_certificate] = SSL_CTX_get0_certificate :mrdocs: Return the local certificate configured on an SSL context (if any). == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:X509.adoc[X509]* SSL_CTX_get0_certificate(xref:SSL_CTX.adoc[SSL_CTX] const* ctx); ---- == Return Value X509 for the context's local identity, or NULL; do not free. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | SSL context to query. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#