Docs are work in progress
Skip to main content

Fetch active certificate details

GET 

/api/v1/machines/:machineIdOrAlias/certificate

This API endpoint retrieve details of currently active certificate associated with the machine identified by the provided machineId or machine alias.

Request

Path Parameters

    machineIdOrAlias stringrequired

    The machineId - unique id of the machine, alias - machine alias

Responses

Success response

Schema

    success boolean
    message string
    status string
    statusCode int32
    errorCode string
    subErrors object[]

    payload

    object

    Machine certificates schema

    machineId string
    privateKeyAlgo string
    privateKeySize string
    pubSignAlgo string
    certSerialNumber string
    certFingerprint string
    certPkiName string
    certCreatedAt date-time
    certExpiresAt date-time
    certCommonName string
    certIssuingUrl string
    certCrlUrl string
    issuingCaSerialNumber string
    issuingCaCommonName string
    issuingCaExpiresAt date-time
    rootCaCommonName string
    rootCaExpiresAt date-time
    isRevoked boolean
Loading...