TSSslServerCertUpdate(3ts)

TSSslServerCertUpdate3ts

Traffic server tls server cert update

Usage

#include <ts/ts.h>
TSReturnCode TSSslServerCertUpdate(const char *cert_path, const char *key_path)

Overview

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.

From trafficserver-dev 9.2.5+ds-0+deb12u4 in Debian 12 (Bookworm). Parsed by carta from the page's man source.