Generates an SSL certificate, csr, and private key for a Delivery Service
- Auth. Required
Yes
- Roles Required
"admin" or "operations"
- Response Type
Object (string)
- city
An optional field which, if present, will represent the resident city of the generated SSL certificate
- country
An optional field which, if present, will represent the resident country of the generated SSL certificate
- hostname
The desired hostname of the
Delivery Service
Note
In most cases, this must be the same as the
Delivery Service
URL'
- key
The
ds-xmlid
of theDelivery Service
for which keys will be generated- organization
An optional field which, if present, will represent the organization for which the SSL certificate was generated
- state
An optional field which, if present, will represent the resident state or province of the generated SSL certificate
- businessUnit
An optional field which, if present, will represent the business unit for which the SSL certificate was generated
- version
An integer that defines the "version" of the key - which may be thought of as the sequential generation; that is, the higher the number the more recent the key
POST /api/2.0/deliveryservices/sslkeys/generate HTTP/1.1
Content-Type: application/json
{
"key": "ds-01",
"businessUnit": "CDN Engineering",
"version": "3",
"hostname": "tr.ds-01.ott.kabletown.com",
"country": "US",
"organization": "Kabletown",
"city": "Denver",
"state": "Colorado"
}
HTTP/1.1 200 OK
Content-Type: application/json
{ "response": "Successfully created ssl keys for ds-01" }