Download Client CA Certificate
Download a client CA's public certificate as a PEM file, for example to trust a CA managed by ngris on another system too, or to give your devices the ca.pem they connect with. Works for uploaded and managed CAs. The file holds only the public certificate, never a private key.
Path parameters
uuid string (uuid) Req
The CA's
uuid from /client-cas.Response (200 OK)
The PEM text (-----BEGIN CERTIFICATE-----…), with Content-Type: application/x-pem-file and Content-Disposition: attachment; filename="client-ca-<ca_uuid>.pem".
Errors
401 Unauthorized
Missing auth.
403 Forbidden
Caller lacks the
cert:read permission in the active account.404 Not Found
CA doesn't exist or belongs to another account.
Request
curl -o ca.pem "https://api.ngris.com/v1/client-cas/019b2c40-1a2b-7c3d-8e4f-5a6b7c8d9e0f/certificate.pem" \
-H "X-API-KEY: <your_api_key>"
Response — 200 OK
-----BEGIN CERTIFICATE-----
MIIBnTCCAUOgAwIBAgIQ...
-----END CERTIFICATE-----
Was this helpful?