---
title: "Generate a cert request and sign the CSR with socket's CA cert"
method: POST
path: "/mtls-ca/socket/{socket_dnsname}/csr"
---

# Generate a cert request and sign the CSR with socket's CA cert

`POST /mtls-ca/socket/{socket_dnsname}/csr`

## Request

- Base URL: `https://api.border0.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.border0.com/mtls-ca/socket/{socket_dnsname}/csr`
- Auth: API key in header `Authorization`

## Path parameters

- `socket_dnsname` string, required

## Request body

- V1CertificateSigningRequest
  - `csr` string, required

## Response `200`

OK

- object
  - `ca_certificate` string
  - `client_certificate` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized

---

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