TSSslServerCertUpdate - traffic Server TLS server cert update
Contents
Copyright
2025, dev@trafficserver.apache.org
9.2 May 22, 2025 TSSSLSERVERCERTUPDATE(3ts)
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.
Name
TSSslServerCertUpdate - traffic Server TLS server cert update
Synopsis
#include <ts/ts.h>
TSReturnCodeTSSslServerCertUpdate(constchar*cert_path,constchar*key_path)