Get Certificate Details By Vmid V2 Using GET

Get Certificate Details By Vmid V2 Using GET

This API is used to get details of a certificate by an ID.

Request
URI
GET
https://{api_host}//10.155.180.238/lcm/locker/api/v2/certificates/{vmid}
COPY
Path Parameters
string
vmid
Required

vmid


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns CertificateResponseDTO of type(s) application/json
{
    "alias": "Certificate for vRealize Automation",
    "certChain": "-----BEGIN CERTIFICATE-----\\nMIID8jCCAtqgAwIBAgIGAXXgo1ZsMA0GCSqGSIb3DQEBCwUAMFMxMzAxBgNVBAMM\\nKnZSZWFsaXplIFN1aXRlIExpZmVjeWNsZSBNYW5hZ2VyIExvY2tlciBDQTEPMA0G\\nA1UECgwGVk13YXJlMQswCQYDVQQGEwJJTjAeFw0yMDExMTkxMzEzMjJaFw0yMjEx\\nMTkxMzEzMjJaMGAxDzANBgNVBAMMBlZNd2FyZTENMAsGA1UECwwEQ01CVTEPMA0G\\nA1UECgwGVk13YXJlMRIwEAYDVQQHDAlCQU5HQUxPUkUxDDAKBgNVBAgMA0tBUjEL\\nMAkGA1UEBhMCSU4wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC/58TJ\\nRVu0l33W9tT/PjUFOitfP0ecc0uXUX3mAwcCbkubHOz2ZXRP66upxjBB7FX2mIbT\\ne2Bzsi0P4FjuWMSOXqrVQWyBwdbGSoNMJ5Ynqezx3GNz/PakbVguNnAzJuZEILBM\\nmGYvZD75ulH2zYa8Aj/ZHjDTVZdrL6PmjjAo1q8nE24+wXult2k6zftwaIUK6r7C\\nOz71v42EMvn5ilBcY0YJ0A+8cWb92sWTTAYwpYGhLCE5HFY84tMIZ+xmoGZ1KpbH\\nG1R6gkQpNrCiozIyZpDxNrZZFO51CJXCHh/36Ub3aeH/qQImyCD/98Bkzvw7w0m5\\nl41DYlUS5EEY/atLAgMBAAGjgb4wgbswHQYDVR0OBBYEFAQz1kWvwXYqTasuMouj\\n1vXRYlppMB8GA1UdIwQYMB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onc/RpViuWN\\nGYY+Aym/X5JLqkp+98TcSHBAz6jrpCgPzaBt/bVwGnhJjlNhFXDC4A5294M+seVa\\nAcUuKJhhNL3CSRH47nKVeEY4ttAleoKFIOcIy+UX0YIaCWvfk6CVRxj/AzTyCmXk\\nTqiOojC9JQCjrq5Gl/qLYgD8/UY2yrBwh3lvXa1dMQi3e+E1YQt4Gn0vGEUn/JI1\\n7gqe0QjBEDX8duX2CX3tMpO6XiROimt1+rPjsn2crlpI96yJrUPvG9CHkkbGWs8C\\nAwEAAaNjMGEwHQYDVR0OBBYEFLsrrSU48NkJ6rySdO22osJTeQMFMB8GA1UdIwQY\\nMBaAFLsrrSU48NkJ6rySdO22osJTeQMFMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0P\\nAQH/BAQDAgGGMA0GCSqGSIb3DQEBCwUAA4IBAQC4IfZrgMlunywSFoFJMRBQPvMq\\nBR9RrJ3N+EL7yFjyHiGZP648/3HHJqPBzH1GFrg4MUy0w7ooAz8GS4UrMG1qY6bo\\n3rgSHwe2xaiZoRR7NiTxHRiQcRyYXlke3dtJFLfZ8u2pXF/T7wZFNNjW3oNo3nMd\\nR+h15qgsvngUwl8ahLwbN09gssxGmWDyW2p23vbwug+xkd88Y1cMylxrXFRelSx9\\nXS/BMhWf53Ic4HCpSmWNxIiA0MxfWmX2/YsP2IEpHCMSsVoRmCXWKq1mlzrPZYpq\\n9swYGVt0iys3GgljiHpdyBSqtI1s9IVFaQNF0AP1V+H1v7t9mjADEcTAsFcB\\n-----END CERTIFICATE-----\\n",
    "certInfo": {
        "algorithm": "SHA256WITHRSA",
        "issuer": "C=IN, O=VMware, CN=vRealize Suite Lifecycle Manager Locker CA",
        "keyAlgorithm": "RSA",
        "keyLength": 2048,
        "san": "DNS: *.vmware.com, DNS: *.dev.lcm.local",
        "sha1": "fea1cfee3532b23027e9f48de03c23d2fb0dc346",
        "sha256": "668430ffe699077b5555c482b3aeada10504f1331dd1a765e5448c55d446ba95",
        "subject": "C=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wQWMBQGCCsGAQUFBwMCBggrBgEF\\nBQcDATAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQBNaLU8wOseuIfl\\nmX43XE3DZqcpjU4KO2P0AO3spQISoCz0WlRtdbfsRGjulakiHxJjPk1iYiJQ6Pt6\\nMncJDxC+mcXSO1NCWOAvi0UAoebcnaJXlvDVHICcTnor3bDI1w7VmqCz849K4thl\\nDhzOLEqaBfJPPca1X2oI7t8nQCuxDChwu62nhUvRgblhzs4KwjzS69++jswlrf5N\\nZL4Byn46eFtfkwEW93vIOny0w4W6yzK0womm0nbGkH4L2eWhtQp5mHGVZRlk7pm0\\njQvWd6H8uqF/bjaHLbOFR4nyq66OO3obg4dRjgPUSAuwJ+HIqlBarCS3xPwj2VR0\\nWWHKMqdc\\n-----END CERTIFICATE-----\\n",
    "tenant": "string",
    "transactionId": "string",
    "validations": [],
    "validity": {
        "expiresOn": "string",
        "healthy": false,
        "issuedOn": "string",
        "period": "1 year, 11 months and 25 days"
    },
    "vmid": "6c9fca27-678d-4e79-9a0f-5f690735e67c"
}
string
alias
Optional

Certificate Alias

string
certChain
Optional

certChain

certInfo
Optional

certInfo

string
key
Optional

key

string
leafCert
Optional

leafCert

string
tenant
Optional

tenant

string
transactionId
Optional

transactionId

validations
Optional

validations

validity
Optional

validity

string
vmid
Optional

vmid


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Returns GenericErrorResponseDTO of type(s) application/json
{
    "errorCode": "LCM_EXAMPLE_API_ERROR0000",
    "errorLabel": "Example Error!",
    "message": "Something went wrong!",
    "recommendations": []
}
string
errorCode
Optional

errorCode

string
errorLabel
Optional

errorLabel

string
message
Optional

message

array of string
recommendations
Optional

recommendations


500

Internal Server Error

Returns GenericErrorResponseDTO of type(s) application/json
{
    "errorCode": "LCM_EXAMPLE_API_ERROR0000",
    "errorLabel": "Example Error!",
    "message": "Something went wrong!",
    "recommendations": []
}
string
errorCode
Optional

errorCode

string
errorLabel
Optional

errorLabel

string
message
Optional

message

array of string
recommendations
Optional

recommendations