Retrieve an issued certificate
POST/vedsdk/certificates/Retrieve
Returns the available certificate data and optional private key information for an enrolled certificate.
Available options for Format:
| Format | Content-Type | Description |
|---|---|---|
| Base64 | application/x-pem-file | Return the certificate in the traditional PEM format. |
| Base64 (PKCS #8) | application/x-pem-file | Return the certificate in the PEM format and include the PKCS#8 encoded private key. |
| DER | application/x-x509-ca-cert | Return the raw certificate. Use IncludePrivateKey and set the password. |
| JKS | application/octet-stream | Return the certificate in the Java Keystore (JKS) format. |
| PKCS #7 | application/x-pkcs7-certificates | Return the certificate with optional chain in the PKCS#7 format |
| PKCS #12 | application/x-pkcs12 | Return the certificate in the PKCS#12 format. Use IncludePrivateKey and set the password." |
Note: This endpoint returns a JSON structure with the certificate data and other information. To download the raw certificate (in various formats), use the GET /certificates/retrieve endpoint.
Required scope: certificate:manage
Request
Responses
- 200
- 202
- 400
- 500
The certificate retrieval was successful, and the certificate data is included in the response.
The certificate issuance is still pending. Use the /certificate/retrieve endpoint to obtain the certificate after it is issued.
Invalid or missing request parameters. See the error message for details.
An internal error occurred during certificate retrieval processing. See the error message for details.