# [REST API](https://zerossl.com/documentation/api "ZeroSSL Documentation") Get CA Certificate

## Get CA Certificate HTTPS GET

To retrieve information about a specific CA certificate using the ZeroSSL API, make an HTTPS GET request to the `ca_certificates` endpoint and pass the certificate identifier in the `{identifier}` URL parameter. The identifier can be either a numeric CA certificate ID or a SHA-1 hash.

**API Request URL:**

```
api.zerossl.com/ca_certificates/{identifier}?access_key=...
```

**HTTPS GET Request Parameters:**

| Parameter | Description |
| --- | --- |
| `access_key` | `access_key` **[Required]** Use this parameter to specify your API access key. |
| `{identifier}` | `{identifier}` **[Required]** Use this parameter to specify the CA certificate identifier. Accepts either the numeric CA certificate ID or the SHA-1 hash of the certificate. |

**API Response:**

If your API request has been successful, you will receive a JSON API response containing all the details of the CA certificate. For illustration purposes, you will find an example API response below.

```
{
    "id": 1,
    "hash_sha1": "a3983a3b4e7d5f6c2b1e9d0f8a7c6b5d4e3f2a1b",
    "certificate_intermediate": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",
    "bundle_full": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",
    "encryption_algorithm": "RSA",
    "created": "2024-01-15 08:00:00",
    "updated": "2024-01-15 08:00:00",
}
```

**Response Objects:**

| Parameter | Description |
| --- | --- |
| `id` | Returns the numeric ID of the CA certificate. |
| `hash_sha1` | Returns the SHA-1 hash (fingerprint) of the CA certificate. |
| `certificate_intermediate` | Returns the CA certificate in PEM format. |
| `bundle_full` | Returns the CA certificate bundle in PEM format. |
| `encryption_algorithm` | Returns the encryption algorithm used by the CA certificate (e.g. `RSA`, `ECC`). |
| `created` | Returns the exact time (UTC) the CA certificate was created. |
| `updated` | Returns the exact time (UTC) the CA certificate was updated.
