---
title: "POST /public/v1/certificates/tls-test"
method: POST
path: "/public/v1/certificates/tls-test"
tags: ["certificates"]
---

# POST /public/v1/certificates/tls-test

`POST /public/v1/certificates/tls-test`

## Request

- Base URL: `https://developers.conduktor.io` (the document declares no server; this is the origin it was published from)
- URL: `https://developers.conduktor.io/public/v1/certificates/tls-test`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/conduktor/apis/conduktor-console-api/docs/public/v1/certificates/tls-test/post.ts> (a function with typed inputs; its response is checked against the schema)

Test a tcp target with the organization's certificates (Kafka uses the TLS/TCP protocol)

## Request body

- TlsTestRequest
  - `host` string, required
  - `port` integer, required

## Response `200`

The result of the TLS check

- TlsTestResponse
  - `status` 'checked_certificate' | 'unchecked_certificate' | 'tls_not_supported' | 'unreachable_target' | 'unexpected_status', required

## Other responses

- `400`: The input is invalid
- `401`: The user is not authenticated
- `500`: An unexpected error occurred in the server

---

[API](https://skmtc.dev/conduktor/apis/conduktor-console-api.md) - [All operations](https://skmtc.dev/conduktor/apis/conduktor-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/conduktor/apis/conduktor-console-api/revisions/24750c294805?raw)
