Decode Cert

Decode Cert

Decode certificate

Request
URI
POST
https://{api_host}/api/cws/v1/enterprises/{enterpriseLogicalId}/decodeCert
COPY
Path Parameters
string
enterpriseLogicalId
Required

Enterprise Logical ID


Request Body
decodeCertBody of type(s) application/json
Required
{
    "cert": "string"
}
string
cert
Required

cert

Responses
200

Certificate details

Returns decodeCertResponse of type(s) application/json
{
    "subject": {
        "countryName": "LK",
        "stateOrProvinceName": "Western",
        "localityName": "Colombo",
        "organizationName": "Software View",
        "organizationalUnitName": "Training",
        "commonName": "Jack Daniel"
    },
    "notBefore": "Jul 10 06:33:18 2010 GMT",
    "notAfter": "Mar 18 06:33:18 2024 GMT",
    "serial": "F6AB3A73F01242A5",
    "sha1Fingerprint": "4C:4E:AD:59:27:F0:DF:81:17:F1:78:EE:A9:30:8D:AA:58:E2:7C:2B",
    "cert": "string",
    "raw": "string"
}
object
subject
Required

subject

string
notBefore
Required

notBefore

string
notAfter
Required

notAfter

string
serial
Required

serial

string
sha1Fingerprint
Required

sha1Fingerprint

string
cert
Required

cert

string
raw
Required

raw


400

Invalid Input

Returns httpResponseError of type(s) application/json
{
    "code": "error code",
    "errors": [
        {
            "message": "error message",
            "path": "object.path"
        }
    ]
}
string
code
Required

code

Possible values are : INTERNAL_ERROR, INVALID_PARAMS, INVALID_QUERY_PARAMS, INVALID_LICENSE,
array of object
errors
Required

errors


500

Internal Server Error

Returns httpResponseError of type(s) application/json
{
    "code": "error code",
    "errors": [
        {
            "message": "error message",
            "path": "object.path"
        }
    ]
}
string
code
Required

code

Possible values are : INTERNAL_ERROR, INVALID_PARAMS, INVALID_QUERY_PARAMS, INVALID_LICENSE,
array of object
errors
Required

errors