---
title: "POST /v1/projects/{project}/instances/{instance}/sslCerts"
method: POST
path: "/v1/projects/{project}/instances/{instance}/sslCerts"
tags: ["sslCerts"]
---

# POST /v1/projects/{project}/instances/{instance}/sslCerts

`POST /v1/projects/{project}/instances/{instance}/sslCerts`

Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted.

## Path parameters

- `project` string, required
- `instance` string, required

## Request body

- SslCertsInsertRequest — SslCerts insert request.
  - `commonName` string — User supplied name. Must be a distinct name from the other certificates for this instance.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/sqladmin.md) · [All operations](https://skmtc.dev/google/apis/sqladmin/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/sqladmin/revisions/e9eef8a2afcd/schema)
