Add Certificate
DescriptionAdds a new certificate or a chain of certificates (CAs). The certificate is used as a client certificate in the trust store depends on the Entity Type. The private key will be ignored if provided. Only NSX_UA_NODE, NSX_UA_CLUSTER, NSX_UA_TN, SUBSCRIBER_NODE, NSX_UA_KAFKA_CLIENT is allowed for this method. The certificate should be stored in PEM format. Note1: it will simply return if users are trying to upload the same pem data with same entity type. Note2: it accpets a request with an empty pem data. It could be used to synchronize services given a entity type.
Request
URLURL
Request Body
{}
Entity that use this Certificate
expand the pem data and show all its details.
Password for private key encryption.
Pem encoded certificate data.
Private key data.
Skip synchronizing services after certificate change. User such as nsx-config can change multiple certificates without synchronizing services and synchronizes services in the last call.
Alias of the Certificate; Unique identifier of this certificate under a Certificate Entity.
UUID of the certificate. Generated on k8s platform. If given in post request, the API will return bad request.
Authentication
Response
Response BodyResponse Body
200 OK
OK and Certificate content
{
"alias": "string",
"passphrase": "string",
"pem_encoded": "string",
"private_key": "string",
"skip_sync_services": false,
"uuid": "string"
}
Entity that use this Certificate
expand the pem data and show all its details.
Password for private key encryption.
Pem encoded certificate data.
Private key data.
Skip synchronizing services after certificate change. User such as nsx-config can change multiple certificates without synchronizing services and synchronizes services in the last call.
Alias of the Certificate; Unique identifier of this certificate under a Certificate Entity.
UUID of the certificate. Generated on k8s platform. If given in post request, the API will return bad request.
Errors
Unknown backend error