SSL_CTX_load_verify_store

Load trusted CA certificates from a store URI into an SSL context.

Synopsis

Declared in <openssl/ssl.h>

int
SSL_CTX_load_verify_store(
    SSL_CTX* ctx,
    char const* CAstore);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
ctxSSL context whose verification store is updated.
CAstoreURI of a certificate store (single container or catalogue).