Reference

TSSslServerCertUpdate(3ts)

traffic Server TLS server cert update

NAME

TSSslServerCertUpdate - traffic Server TLS server cert update

SYNOPSIS

#include <ts/ts.h>

TSReturnCode TSSslServerCertUpdate(const char *cert_path, const char *key_path)

DESCRIPTION

TSSslServerCertUpdate() updates existing server certificates configured in ssl_multicert.config based on the common name in cert_path. if key_path is set to nullptr, the function will use cert_path for both certificate and private key. TSSslServerCertUpdate() returns TS_SUCCESS only if there exists such a mapping, cert_path is a valid cert, and the context is updated to use that cert.

COPYRIGHT

2026, [email protected]