Policy > Infra > Certificates > CSR

Get CSR PEM File for the Given CSR ID

Downloads the CSR PEM file for a specified CSR. Clients must include an Accept: text/plain request header.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/csrs/{csr-id}/pem-file
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/csrs/example-csr-id/pem-file Accept: text/plain

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: text/plain;charset=UTF-8
Response Body:
string

Example Response:

-----BEGIN CERTIFICATE REQUEST----------END CERTIFICATE REQUEST-----

Required Permissions:

read

Feature:

policy_certificate

Additional Errors: