NSX-T Data Center REST API

Show Certificate Data for the Given Certificate ID

Returns information for the specified certificate ID, including the
certificate's UUID; resource_type (for example, certificate_self_signed,
certificate_ca, or certificate_signed); pem_encoded data; and history of the
certificate (who created or modified it and when). For additional
information, include the ?details=true modifier at the end of the request
URI.

Request:

Method:
GET
URI Path(s):
/api/v1/trust-management/certificates/<cert-id>
Request Headers:
n/a
Query Parameters:
GetCertParameter+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/trust-management/certificates/506d00d6-bfd5-4ebe-8b7f-0236f8de4792

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
Certificate+

Example Response:

{ "id": "506d00d6-bfd5-4ebe-8b7f-0236f8de4792", "display_name": "506d00d6-bfd5-4ebe-8b7f-0236f8de4792", "resource_type": "certificate_signed", "pem_encoded": "-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n-----BEGIN CERTIFICATE----------END CERTIFICATE-----\n", "has_private_key": true, "used_by": [], "_system_owned": false, "_last_modified_time": 1413369285811, "_create_time": 1413369285811, "_create_user": "admin", "_last_modified_user": "admin", "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

read

Feature:

trust_certificates

Additional Errors: