.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "TSSSLSERVERCERTUPDATE" "3ts" "Aug 23, 2024" "9.2" "Apache Traffic Server"
.SH NAME
TSSslServerCertUpdate \- traffic Server TLS server cert update
.SH SYNOPSIS
.INDENT 0.0
.INDENT 3.5
.sp
.EX
#include <ts/ts.h>
.EE
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
.B \fI\%TSReturnCode\fP TSSslServerCertUpdate(const char *cert_path, const char *key_path) 
.UNINDENT
.SH DESCRIPTION
.sp
\fI\%TSSslServerCertUpdate()\fP updates existing server certificates configured in
\fI\%ssl_multicert.config\fP based on the common name in \fIcert_path\fP\&. if \fIkey_path\fP is set
to nullptr, the function will use \fIcert_path\fP for both certificate and private key.
\fI\%TSSslServerCertUpdate()\fP returns \fITS_SUCCESS\fP only if there exists such a mapping,
\fIcert_path\fP is a valid cert, and the context is updated to use that cert.
.SH COPYRIGHT
2024, dev@trafficserver.apache.org
.\" Generated by docutils manpage writer.
.