Skip to content

/certificates/{id} (GET)

GET
/certificates/{id}
curl --request GET \
--url https://pki.example.com/api/v1/certificates/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Get detailed information about a specific certificate

id
required
string format: uuid

Default Response

Media typeapplication/json
object
id
string format: uuid
caId
string format: uuid
serialNumber
string
certificateType
string
status
string
Allowed values: active revoked expired
subjectDn
string
subject
object
issuerDn
string
issuer
object
notBefore
string format: date-time
notAfter
string format: date-time
validityStatus
string
Allowed values: valid expired not_yet_valid
remainingDays
integer
nullable
keyUsage
object
extendedKeyUsage
Array<string>
nullable
sanDns
Array<string>
nullable
sanIp
Array<string>
nullable
sanEmail
Array<string>
nullable
basicConstraints
object
fingerprints
object
sha256
string
sha1
string
issuingCA
object
id
string format: uuid
subjectDn
string
serialNumber
string
certificatePem
string
kmsKeyId
string
nullable
revocationDate
string format: date-time
nullable
revocationReason
string
nullable
renewedFromId
string format: uuid
nullable
renewedTo
Array<object>
nullable
object
createdAt
string format: date-time
updatedAt
string format: date-time

Example

{
"status": "active",
"validityStatus": "valid"
}

Default Response

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
Array<object>
object
field
string
message
string

Example generated

{
"error": {
"code": "example",
"message": "example",
"details": [
{
"field": "example",
"message": "example"
}
]
}
}

Default Response

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
Array<object>
object
field
string
message
string

Example generated

{
"error": {
"code": "example",
"message": "example",
"details": [
{
"field": "example",
"message": "example"
}
]
}
}