// removed jquery ui css and js

Download Self Certificate

Details

API Details
NameDownload Self Certificate
DescriptionDownloads your own certificate authentication file.

See the Certificate Authentication and Management section for the relevant release for additional context.

MethodGET
URI
  • v1/certificate/self/download
  • v1/certificate/self

CloudCenter ReleaseIntroduced in CloudCenter 4.2.1.
Notes

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

ESB Header
  • action: get.certificate.self.download
  • action: get.certificate.self

See the Enterprise Service Bus (ESB) section for the relevant release for additional context.

Download Self Certificate File Example

curl -k -X GET -H "Accept: application/json" -u cliqradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/certificate/self/download" 

Request Body

None.

Response

The certificate file is downloaded and a 200 OK status update is issued.

View Self Certificate Example

curl -k -X GET -H "Accept: application/json" -u cliqradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/certificate/self" 

Request Body

None.

Response

{
    "id": "45",
    "resource": "https://<HOST>:<PORT>/v1/certificate/self",
    "perms": [],
    "cloudCenterId": "44",
    "creationTime": 1447707149000,
    "validBefore": 1762025614000,
    "validAfter": 1446665614000,
    "installedIps": "10.110.13.131",
    "fileName": "certFile"
}


Request Attributes

None.

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 the Certificate Authentication and Management section for the relevant release 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). See the Federated CCM Management section for the relevant release for additional context.
  • Type: Long
validAfter
  • Description: The date and time from when the certificate authentication is valid (encoded in the CA). See the Certificate Authentication and Management section for the relevant release for additional context.
  • Type: Long
validBefore
  • Description: The date and time up to when the certificate authentication is valid (encoded in the CA). See the Certificate Authentication and Management section for the relevant release for additional context.
  • Type: Long
 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

 

 

© 2017-2019 Cisco Systems, Inc. All rights reserved