Upload Link Certificate

Details

API Details
NameUpload certificate
DescriptionImports a certificate for a CloudCenter component as specified in Federated Certificate Management.
MethodPOST
URIv1/certificate/import?fileName=fileName
CloudCenter ReleaseIntroduced in CloudCenter 4.3.1.
Notes

For additional context on <PORT> usage in the following example(s), see Base URI Format.

Once uploaded, this file cannot be downloaded.

ESB Headeraction: certificate/import
actionparam: fileName=fileName

Example

curl -k -X POST -H "Accept: application/json" -H "Content-Type: application/json" -u cliqradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/certificate/import?fileName=ca_root.crt"
 

Request Body

 {certFile}

Response

{
    "id": "68",
    "resource": "https://<HOST>:<PORT>/v1/certificate/import?fileName=ca43.crt",
    "perms": [],
    "cloudCenterId": "43",
    "creationTime": 1448926687789,
    "validBefore": 1762732149000,
    "validAfter": 1447372149000,
    "installedIps": null,
    "fileName": "ca43.crt"
} 

Request Attributes

fileName
  • Description: The certificate file name of the uploaded file
  • Type: String
certFile
  • Description: The certificate to be uploaded
  • Type: File attachment

Response Attributes

id
  • DescriptionUnique, system-generated identifier for this CloudCenter Resource.

  • Type: String
resource
  • Description: Unique URL to access this resource
  • Type: String
perms (click for additional context)
 cloudCenterId 
  • Description: Unique, system-generated identifier for the CloudCenter ID (CCID). This ID is auto-generated by the CloudCenter platform. See Certificate Authentication for additional context.
  • Type: String
 creationTime  
  • Description: The date and time when you upload the certificate for the Federated CCM server (NOT your CCM server) 
  • Type: Long
validAfter
validBefore
 installedIps 
  • Description: The IP address of the CCM instance (or multiple instances, separated by semicolons, if more than one CCM is configured in a HA environment)
  • Type: String
fileName
  • Description: The certificate file name of the uploaded file
  • Type: String