TSSslServerContextCreate¶
Traffic Server TLS server context creation.
Synopsis¶
#include <ts/ts.h>
-
TSSslContext
TSSslServerContextCreate
(void)¶
-
void
TSSslContextDestroy
(TSSslContext ctx)¶
Description¶
TSSslServerContextCreate()
creates a new TLS server context. The context
is configured using the TLS settings specified in records.config
.
TSSslServerContextCreate()
returns nullptr
on failure.
TSSslContextDestroy()
destroys a TLS context created by
TSSslServerContextCreate()
. If ctx is nullptr
no operation is
performed.
Type¶
-
TSSslContext
¶
The SSL context object. This is an opaque type that can be cast to
the underlying SSL library type (SSL_CTX *
for the OpenSSL library).
See also¶
TSAPI(3ts)