---
title: "CreateSslPair"
method: POST
path: "/v1/ssl/"
tags: ["ssl"]
---

# CreateSslPair

`POST /v1/ssl/`

Create a new ssl pair.

## Request body

- DtoCreateSslPair
  - `certificate` EntitySslCertificate
    - `altNames` string[]
    - `certificateAuthority` string
    - `certificateContent` string
    - `commonName` string
    - `expiresAt` integer
    - `id` string
    - `issuedAt` integer
  - `chainCertificates` EntitySslCertificate
    - `altNames` string[]
    - `certificateAuthority` string
    - `certificateContent` string
    - `commonName` string
    - `expiresAt` integer
    - `id` string
    - `issuedAt` integer
  - `key` string
  - `virtualHostsHostnames` string[]

## Response `201`

SslPairCreated

- object

---

[API](https://skmtc.net/goinfinite/apis/osapi.md) · [All operations](https://skmtc.net/goinfinite/apis/osapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/goinfinite/osapi/versions/7320a5d8ef9e/schema)
