Add Certificate Library Item
Add an item to the certificate library
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/ssl/certificateLibrary
COPY
Request Body
CertificateLibraryItem
of type(s)
application/json
Optional
Show optional properties
{
"alias": "string",
"certificate": "string"
}
{
"id": "string",
"alias": "string",
"privateKey": "string",
"privateKeyPassphrase": "string",
"certificate": "string",
"description": "string",
"consumerCount": 0
}
Responses
201
Created
Returns
CertificateLibraryItem
of type(s)
application/json;version=39.1
"CertificateLibraryItem Object"
string
id
Optional
id
string
alias
Required
Constraints:
maxLength: 128
alias
string
privateKey
Optional
PEM encoded private key. Required if providing a certificate chain
string
privateKeyPassphrase
Optional
passphrase for the private key. Required if the private key is encrypted
string
certificate
Required
PEM encoded certificate. All extraneous whitespace and other information is removed.
string
description
Optional
Description of the certificate library item
integer
consumerCount
Optional
The number of consumers of the certificate.
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"alias:"string","certificate:"string"}' https://{api_host}/cloudapi/1.0.0/ssl/certificateLibrary
Availability
Added in 35.0
Certificate Library Operations
GET
Query Certificate Library
POST
Add Certificate Library Item
GET
Get Certificate Library Item
PUT
Update Certificate Library Item
DELETE
Delete Certificate Library Item
GET
Query Cert Library Item Consumer Refs
POST
Add Consumer Ref To Cert Library Item
PUT
Replace Cert Library Item Consumer Refs