---
name: "TSVConnSslVerifyCTXGet"
section: "3ts"
platform: "linux"
package: "trafficserver-dev"
version: "9.2.5+ds-0+deb12u4"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/TSVConnSslVerifyCTXGet"
---

# TSVConnSslVerifyCTXGet(3ts)

TSVConnSslVerifyCTXGet API function

## NAME

TSVConnSslVerifyCTXGet - TSVConnSslVerifyCTXGet API function

## SYNOPSIS

```
#include <ts/ts.h>
```

- ***TSSslVerifyCTX* TSVConnSslVerifyCTXGet(*TSVConn* svc)**

  ## DESCRIPTION

Get the TSSslVerifyCTX object that corresponds to the certificates being verified for the SSL connection corresponding to *svc*.

This value is only meaningful during the peer certificate verification callbacks, specifically during callbacks invoked from the TS\_SSL\_VERIFY\_SERVER\_HOOK and TS\_SSL\_VERIFY\_CLIENT\_HOOK.

## TYPES

- **type TSSslVerifyCTX**

  The SSL object that corresponds to the peer certificates being verified.  This is an opaque type that can be cast to the appropriate implementation type (:code *X509\_STORE\_CTX \** for the OpenSSL library).

## COPYRIGHT

2026, dev@trafficserver.apache.org
