GET
/
api
/
v1
/
pki
/
certificates
/
{serialNumber}
/
bundle
cURL
curl --request GET \
  --url https://us.infisical.com/api/v1/pki/certificates/{serialNumber}/bundle
{
  "certificate": "<string>",
  "certificateChain": "<string>",
  "privateKey": "<string>",
  "serialNumber": "<string>"
}
You must have the certificate read-private-key permission in order to call this endpoint.

Path Parameters

serialNumber
string
required

The serial number of the certificate to get the certificate body and certificate chain for.

Response

Default Response

certificate
string
required

The certificate body of the certificate.

certificateChain
string | null
required

The certificate chain of the certificate.

privateKey
string | null
required

The private key of the certificate.

serialNumber
string
required

The serial number of the certificate.