SSL_CTX_set_client_CA_list

Set the list of CA names sent to clients when requesting a client certificate.

Synopsis

Declared in <openssl/ssl.h>

void
SSL_CTX_set_client_CA_list(
    SSL_CTX* ctx,
    stack_st_X509_NAME* name_list);

Parameters

NameDescription
ctxSSL context (typically a server) that owns name_list after this call.
name_listStack of X509_NAME objects identifying acceptable CAs; ownership transfers to ctx.