TSSslServerContextCreate
traffic Server TLS server context creation
- Provided by: trafficserver-dev (Version: 8.0.5+ds-3)
- Source: trafficserver
- Report a bug
traffic Server TLS server context creation
#include <ts/ts.h>
TSSslServerContextCreate() creates a new TLS server context. The context is configured using the TLS settings specified in records.config. The user can pass certificate object(TSSslX509 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.
TSSslContextDestroy() destroys a TLS context created by TSSslServerContextCreate(). If ctx is nullptr no operation is performed.
2020, dev@trafficserver.apache.org