Read certificates from a file and return a stack of their subject names.

Synopsis

Declared in <openssl/ssl.h>

stack_st_X509_NAME*
SSL_load_client_CA_file(char const* file);

Return Value

New STACK_OF(X509_NAME) on success (caller frees with sk_X509_NAME_pop_free), or NULL on failure.

Parameters

Name

Description

file

Path to a PEM file of CA certificates (typically for SSL_set_client_CA_list).

Created with MrDocs