Add SNI SSL Certificate

Posthttps://api.cdn77.com/v3/ssl/sni

Request body≥1 required

  • certificatestringrequired

    SNI certificate.

  • private_keystringrequired

    Private key of the SSL certificate.

Example of the request body
{
  "certificate": "---BEGIN CERTIFICATE---MIIEvwIBADANBgkqhkiG9w0BAQEFAAS---END CERTIFICATE---",
  "private_key": "---BEGIN RSA PRIVATE KEY---MNQCS6FJUOgqF7bsfs2MsoDP---END PRIVATE KEY---"
}

Responses

SNI SSL Certificate created.

Response parameters

  • idstring, format UUIDv4

    ID of the SSL certificate.

  • certificatestring

    SNI certificate.

  • cnamesarray of strings

    CNAMEs assigned to SNI certificate.

  • expires_atstring, format date-time

    Date and time of the SNI certificate expiration.

  • assigned_resourcesarray of objects
Example of the response
{
  "id": "9880280c-0507-46d1-88f3-71cfee83fa57",
  "certificate": "---BEGIN CERTIFICATE---MIIEvwIBADANBgkqhkiG9w0BAQEFAAS---END CERTIFICATE---",
  "cnames": [
    "cname.your-domain.com"
  ],
  "expires_at": "2024-10-16T21:56:59.036Z",
  "assigned_resources": [
    {
      "id": 1234567890,
      "label": "My cdn"
    }
  ]
}
Can’t find what you are looking for?