Download a proxy's CA certificate

GET
/v1/{namespace}/proxies/{proxy}/ca.pem

The certificate the web proxy must trust for this proxy, as a PEM file: the proxy's own CA, or the deployment's shared root when trust is shared. Needs namespace access. Answered with 400 when the proxy trusts the shared root and the deployment has none.

Authorization

headerAuthorizationBearer <token>

A personal or service access token, sent as Authorization: Bearer <token>. See access tokens.

Path Parameters

namespace*string

The namespace id.

proxy*string

The proxy id.

Response Body

The certificate, sent as an attachment.

response?stringapplication/x-pem-file
curl -X GET 'https://eu-sov-1.bytesafecloud.eu/v1/my-namespace-id/proxies/proxy-01kya2b7m3q8xz5n0hdr4wcv6t/ca.pem'
"-----BEGIN CERTIFICATE-----\nMIIBszCCAVmgAwIBAgIQ...\n-----END CERTIFICATE-----\n"