TSSslServerContextCreate
include <ts/ts.h>
(TSSslX509 \cert, char *certname*)
creates a new TLS server context. The context is configured using the TLS settings specified in records.config
. The user can pass certificate object( cert and certname (const char*
certname) optionally. This function sets the certificate status callback and initializes ocsp stapling data if cert and certname is provided and ocsp is enabled globally. TSSslServerContextCreate()
returns nullptr
on failure.
TSSslContext
TSAPI(3ts)