> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/d/digicert-certcentral.md).

# DigiCert CertCentral

DigiCert CertCentral is a platform to order and manage TLS and other certificates. OctoXLabs uses it to add the certificates of your orders, with common name, issuer, signature hash and expiry date, to the inventory.

## Use cases

* Track certificates that expire soon so they can be renewed in time.
* Review the issuing CA and signature algorithm of all your certificates.

## Before you begin

### Network

| Source              | Destination                          | Port | Protocol |
| ------------------- | ------------------------------------ | ---- | -------- |
| OctoXLabs connector | `digicert.com` (configurable domain) | 443  | HTTPS    |

### Required permissions

| Scope or role                                        | Permission                                          | Needed for              |
| ---------------------------------------------------- | --------------------------------------------------- | ----------------------- |
| API key linked to a CertCentral user or service user | Read (View Only restriction is enough in principle) | Orders and certificates |

The key inherits the permissions of the linked user. Not verified: the least restrictive key restriction that still lists orders. You can restrict a key to Orders, Orders/Domains/Organizations, View Only or User Management.

## Create credentials in DigiCert CertCentral

{% stepper %}
{% step %}

### Open API Keys

Sign in to CertCentral and go to **Automation** > **API Keys**. Select **Add API Key**.
{% endstep %}

{% step %}

### Describe the key

Enter a description and select **Add**. You can create up to 30 keys per session.
{% endstep %}

{% step %}

### Link the key to a user

In the User menu, link the key to a CertCentral user (it inherits their permissions) or to a service user. Administrators can create a service user and optionally limit it to divisions.
{% endstep %}

{% step %}

### Set restrictions (optional)

Choose a restriction: Orders, Orders/Domains/Organizations, View Only or User Management.
{% endstep %}

{% step %}

### Copy the key

Select **Add API Key**, then copy the key or download the CSV. The key is shown only once. If you lose it, revoke it and create a new one.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter    | Required | Type              | Default        | Description                                                  |
| ------------ | -------- | ----------------- | -------------- | ------------------------------------------------------------ |
| Domain       | Yes      | String            | `digicert.com` | Domain of your CertCentral instance.                         |
| API Key      | Yes      | String            | None           | CertCentral API key.                                         |
| Timeout      | No       | Integer (seconds) | `30`           | Time to wait for API responses.                              |
| Thread Count | No       | Integer (1 to 32) | `32`           | Parallel threads for API requests.                           |
| Sleep Time   | No       | Integer (seconds) | `0`            | Delay between thread batches. Raise it on rate limit errors. |

## Troubleshooting

| Error message | Cause                                                             | Fix                                                   |
| ------------- | ----------------------------------------------------------------- | ----------------------------------------------------- |
| Not verified  | The connector code defines no custom error text for this adapter. | Check the credentials and network access to the host. |

## Change history

{% hint style="info" %}
Available starting from version 5.6.8.
{% endhint %}
