PKI

This method returns the certificate chain required to authenticate securely against the Ledger Enterprise API

Get certificate chain

get

This method returns the certificate chain.

Authorizations
X-Ledger-API-KeystringRequired

If you've set up your API Key when initializing your LAM, you'll need to include it as a header along with the api user header. For more details, see step 5 of the get started documentation.

X-Ledger-API-UserstringRequired

(required) Username of a registered API User

Responses
200

List of certificates in hexadecimal format (DER encoded)

application/json
Responsestring · hex[]Example: 308203C3308202BB02010002818100D1A9F4F7F0E5E8B3A8A6A7B0C7F2F9C8A7B5D3E4E8D4C3D2E1C0B0A0F0E0D0C0B0A0F0E0D0C0B0A0F0E0D0C0B0A0F
get
/certificates/chain
GET /certificates/chain HTTP/1.1
Host: 
X-Ledger-API-Key: YOUR_API_KEY
X-Ledger-API-User: YOUR_API_KEY
Accept: */*
200

List of certificates in hexadecimal format (DER encoded)

[
  "308203C3308202BB02010002818100D1A9F4F7F0E5E8B3A8A6A7B0C7F2F9C8A7B5D3E4E8D4C3D2E1C0B0A0F0E0D0C0B0A0F0E0D0C0B0A0F0E0D0C0B0A0F"
]

Last updated