SSL_CTX_add_client_CA

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

NameDescription
ctxServer SSL context whose client-CA list is extended (created if none was set).
xCertificate whose subject name is appended (not taken ownership of).