SSL_CTX_set_cert_store

Replace the context certificate store, taking ownership of store.

Synopsis

Declared in <openssl/ssl.h>

void
SSL_CTX_set_cert_store(
    SSL_CTX* ctx,
    X509_STORE* store);

Parameters

NameDescription
ctxSSL context whose verification store is replaced.
storeX509_STORE to install; any previous store is freed, and store is owned by ctx.