[][src]Function tabbyssl::libssl::ssl::tabby_SSL_CTX_use_certificate_chain_file

#[no_mangle]pub extern "C" fn tabby_SSL_CTX_use_certificate_chain_file(
    ctx_ptr: *mut TABBY_CTX_ARC,
    filename_ptr: *const c_char,
    _format: c_int
) -> c_int

SSL_CTX_use_certificate_chain_file - load a certificate chain from file into ctx. The certificates must be in PEM format and must be sorted starting with the subject's certificate (actual client or server certificate), followed by intermediate CA certificates if applicable, and ending at the highest level (root) CA.

#include <tabbyssl/openssl/ssl.h>

int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file);