DigitalOcean-public.v2-new_Certificates
Retrieve an Existing Certificate
To show information about an existing certificate, send a GET request to /v2/certificates/$CERTIFICATE_ID.
get/v2/certificates/{certificate_id}
Path parameters
certificate_idstring uuid required
A unique identifier for a certificate.
Response
The response will be a JSON object with a certificate key. This will be set to an object containing the standard certificate attributes.
Example response
{
"certificate": {
"id": "892071a0-bb95-49bc-8021-3afd67a210bf",
"name": "web-cert-01",
"not_after": "2017-02-22T00:23:00Z",
"sha1_fingerprint": "dfcc9f57d86bf58e321c2c6c31c7a971be244ac7",
"created_at": "2017-02-08T16:02:37Z",
"dns_names": [
"www.example.com",
"example.com"
],
"state": "verified",
"type": "lets_encrypt"
}
}