Add a CA subject name to the context's client‐CA list sent when requesting a client certificate.

Synopsis

Declared in <openssl/ssl.h>

int
SSL_CTX_add_client_CA(
    SSL_CTX* ctx,
    X509* x);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

ctx

Server SSL context whose client‐CA list is extended (created if none was set).

x

Certificate whose subject name is appended (not taken ownership of).

Created with MrDocs