SSL_GET_CLIENT_CA_LIST(3)
π SSL_GET_CLIENT_CA_LIST(3) π
ok so picture this: you're deep in the Library Functions Manual (yes that's the whole vibe, we're in libssl/libcrypto land now π₯) and you need to know which client CAs are even in the chat. That's this whole page. Buckle up bestie π
β¨ NAME β¨
SSL_get_client_CA_list, SSL_CTX_get_client_CA_list β get list of client CAs π«Ά
πΈ SYNOPSIS πΈ
library βlibsslβ libcrypto #include <openssl/ssl.h>
STACK_OF(X509_NAME) *
SSL_get_client_CA_list(const SSL *s);
STACK_OF(X509_NAME) *
SSL_CTX_get_client_CA_list(const SSL_CTX *ctx);
literally just include <openssl/ssl.h>, link against libssl and libcrypto, and you're so back β¨
π¦ DESCRIPTION π¦
okay so SSL_CTX_get_client_CA_list() returns the list of client CAs explicitly set for ctx using SSL_CTX_set_client_CA_list(3). that's it, that's the whole function, no cap π
and SSL_get_client_CA_list() returns the list of client CAs explicitly set for ssl using SSL_set_client_CA_list() or ssl's SSL_CTX object with SSL_CTX_set_client_CA_list(3), when in server mode. server girlie energy π
but wait β in client mode, SSL_get_client_CA_list() returns the list of client CAs sent from the server, if any. so like, the server slides into your DMs with its CA list and you get to read it π adorable
lowkey important: which list you get depends on whether you're the server or the client. vibe check your mode first fr fr.
π SEE ALSO π
all the linked besties, go read them too iykyk π§
π HISTORY π
SSL_get_client_CA_list() and SSL_CTX_get_client_CA_list() first appeared in SSLeay 0.8.0 and have been available since OpenBSD 2.4. ancient. iconic. main character energy since day one π
and that's the tea π this page came from Debian, dated June 8, 2025, and it's SSL_GET_CLIENT_CA_LIST(3) all the way down. slay, stay secure, and don't forget to free your stacks ππ«Άβ¨
π¦ where this page comes from
- alpine 3.24: libressl-doc 4.3.1-r0 Β· custom
- arch rolling: libressl 4.4.0-1 Β· ISC AND custom:OpenSSL
- Copyright (c) 2000, 2001, 2002, 2005 The OpenSSL Project
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms