logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

TSSslServerContextCreate - traffic Server TLS server context creation

Description

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(TSSslX509cert  and  certname
       (constchar*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.

Name

       TSSslServerContextCreate - traffic Server TLS server context creation

See Also

TSAPI(3ts)

Synopsis

          #include <ts/ts.h>

       TSSslContextTSSslServerContextCreate(TSSslX509*cert,char*certname)voidTSSslContextDestroy(TSSslContextctx)

Type

typeTSSslContext
              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