Available in Classic and VPC
Download the certificate and chain files as a ZIP file.
Request
This section describes the request format. The method and URI are as follows:
| Method | URI |
|---|---|
| GET | /certificate/exportCertificate/{certificateNo} |
Request headers
For information about the headers common to all Certificate Manager APIs, see Common Certificate Manager headers.
Request path parameters
You can use the following path parameters with your request:
| Field | Type | Required | Description |
|---|---|---|---|
certificateNo |
Integer | Required | Certificate number |
Request example
The request example is as follows:
curl --location --request GET 'https://certificatemanager.apigw.ntruss.com/api/v2/certificate/exportCertificate/12345' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
--header 'Content-Type: application/json' \
--header 'Accept: application/zip'
Response
This section describes the response format.
Response status codes
For information about the HTTP status codes common to all Certificate Manager APIs, see Common Certificate Manager response status codes.
Response example
Upon successful API processing, the certificate zip file (*.zip) is downloaded.