/certificates/{id} (GET)
GET
/certificates/{id}
const url = 'https://pki.example.com/api/v1/certificates/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
id
string format: uuid
caId
string format: uuid
serialNumber
string
certificateType
string
status
string
subjectDn
string
subject
object
issuerDn
string
issuer
object
notBefore
string format: date-time
notAfter
string format: date-time
validityStatus
string
remainingDays
integer
keyUsage
object
extendedKeyUsage
Array<string>
sanDns
Array<string>
sanIp
Array<string>
sanEmail
Array<string>
basicConstraints
object
fingerprints
object
sha256
string
sha1
string
issuingCA
object
id
string format: uuid
subjectDn
string
serialNumber
string
certificatePem
string
kmsKeyId
string
revocationDate
string format: date-time
revocationReason
string
renewedFromId
string format: uuid
renewedTo
Array<object>
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" } ] }}