.\" Man page generated from reStructuredText. . .TH "TSSSLSERVERCONTEXTCREATE" "3ts" "Mar 08, 2019" "7.1" "Apache Traffic Server" .SH NAME TSSslServerContextCreate \- traffic Server TLS server context creation . .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 .. .SH SYNOPSIS .sp \fB#include \fP .INDENT 0.0 .TP .B \fI\%TSSslContext\fP TSSslServerContextCreate(void) .UNINDENT .INDENT 0.0 .TP .B void TSSslContextDestroy(\fI\%TSSslContext\fP\fI\ ctx\fP) .UNINDENT .SH DESCRIPTION .sp \fI\%TSSslServerContextCreate()\fP creates a new TLS server context. The context is configured using the TLS settings specified in \fBrecords.config\fP\&. \fI\%TSSslServerContextCreate()\fP returns \fBnullptr\fP on failure. .sp \fI\%TSSslContextDestroy()\fP destroys a TLS context created by \fI\%TSSslServerContextCreate()\fP\&. If \fIctx\fP is \fBnullptr\fP, no operation is performed. .SH TYPE .INDENT 0.0 .TP .B TSSslContext .UNINDENT .sp The SSL context object. This is an opaque type that can be cast to the underlying SSL library type (\fBSSL_CTX *\fP for the OpenSSL library). .SH SEE ALSO .sp \fBTSAPI(3ts)\fP .SH COPYRIGHT 2019, dev@trafficserver.apache.org .\" Generated by docutils manpage writer. .