Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

TSSslServerCertUpdate - traffic Server TLS server cert update

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)

See Also