Import Certificate

Import Certificate

Import the given certificate file.

Request
URI
POST
https://{api_host}/suite-api/api/certificate
COPY
Request Body
File of type(s) multipart/form-data
Optional

Show optional properties

{
    "certificateFile": "string"
}
"No Custom Example is Available"
string
certificateFile
Required

Certificate file

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns certificates of type(s) application/json
"No Custom Example is Available"
array of object
certificates
Optional

Collection of certificates


202

The imported certificate information

Returns certificates of type(s) application/json
"{\n  \"certificates\" : [ {\n    \"thumbprint\" : \"18f4ecc8c8941537a1de40c0046afbcd998714e7\",\n    \"certificateDetails\" : \"Issued by VMware, Inc. Expires: 01/01/2021\",\n    \"issuedTo\" : \"OU=VMware Engineering, O=evn-vc-7.eng.vmware.com, ST=California, C=US, DC=local, DC=vsphere, CN=CA\",\n    \"issuedBy\" : \"C=US, CN=evn-vc-7.eng.vmware.com\"\n  } ]\n}"
array of object
certificates
Optional

Collection of certificates


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: multipart/form-data' -d '{"certificateFile:"string"}' https://{api_host}/suite-api/api/certificate