[#SSL_CTX_use_certificate] = SSL_CTX_use_certificate :mrdocs: Set the end‐entity certificate used by an SSL context. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_CTX_use_certificate( xref:SSL_CTX.adoc[SSL_CTX]* ctx, xref:X509.adoc[X509]* x); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | SSL context that receives the certificate. | *x* | Certificate to install; reference count is incremented on success. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#