[#SSL_CTX_use_certificate_chain_file] = SSL_CTX_use_certificate_chain_file :mrdocs: Load a PEM certificate chain from `file` into `ctx.` == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_CTX_use_certificate_chain_file( xref:SSL_CTX.adoc[SSL_CTX]* ctx, char const* file); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | SSL context that receives the end‐entity certificate and any following CA certs. | *file* | Path to a PEM file containing the leaf certificate followed by optional intermediates. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#