> 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/g/globalsign.md).

# Globalsign

Globalsign provides PKI and digital certificate services. OctoXLabs reads the certificates from the Globalsign Atlas API and adds them to the certificate inventory, so that expiry dates are visible next to your other certificates.

{% hint style="warning" %}
Certificate retrieval is limited to a 30-day time window. Certificates older than 30 days cannot be retrieved. See the [Globalsign Atlas API documentation](https://www.globalsign.com/en/resources/apis/api-documentation/globalsign_atlas_certificate_management_api.html#stats_issued_get).
{% endhint %}

## Use cases

* List the Globalsign certificates OctoXLabs has collected.

```
Adapters = globalsign
```

* Find Globalsign certificates that expire within 30 days.

```
Adapters = globalsign AND ExpiryDate next now+30d/d
```

## Before you begin

### Network

| Source              | Destination                       | Port                         | Protocol                           |
| ------------------- | --------------------------------- | ---------------------------- | ---------------------------------- |
| OctoXLabs connector | `system.globalsign.com` (default) | 8443 (default, configurable) | HTTPS (HTTP when Is secure is off) |

### Required permissions

| Scope or role                                                            | Permission                                                                        | Needed for   |
| ------------------------------------------------------------------------ | --------------------------------------------------------------------------------- | ------------ |
| Atlas API credentials (key and secret) linked to an Identity and Service | Read access to issued and expiring certificate statistics and certificate details | Certificates |

The exact permission names are Not verified.

## Create credentials in Globalsign

{% stepper %}
{% step %}

### Register an Atlas account

Go to <https://atlas.globalsign.com/register> and register. You need to validate your email address.
{% endstep %}

{% step %}

### Enter business information

Once logged in, enter your business information and select whether the account is for your organization or others. In most cases, choose **for your organization**.
{% endstep %}

{% step %}

### Accept the quote and create an Identity

Your Globalsign Account Manager sends a service quote through the portal. After you accept it, create an Atlas Identity. It is sent for vetting.
{% endstep %}

{% step %}

### Generate API credentials

After vetting, generate your API credentials. This links your Identity and Service. Save the credentials securely.
{% endstep %}

{% step %}

### Generate the mTLS certificate

Generate your mTLS certificate and store it in a secure location.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter    | Required | Type             | Default                 | Description                                                              |
| ------------ | -------- | ---------------- | ----------------------- | ------------------------------------------------------------------------ |
| Ip           | No       | Text             | `system.globalsign.com` | Host name or IP address of the Globalsign API.                           |
| Port         | No       | Integer          | 8443                    | Port number.                                                             |
| Api key      | Yes      | Text             | None                    | API key.                                                                 |
| Api secret   | Yes      | Text (sensitive) | None                    | API secret.                                                              |
| Is secure    | No       | Boolean          | True                    | Use HTTPS.                                                               |
| Timeout      | No       | Integer          | 30                      | Seconds to wait for API responses.                                       |
| Thread count | No       | Integer          | 32                      | Parallel threads for certificate detail requests. Minimum 1, maximum 32. |
| Sleep time   | No       | Integer          | 0                       | Seconds between thread batches. Increase it on rate limit errors.        |

## Troubleshooting

| Error message | Cause                                        | Fix                                                        |
| ------------- | -------------------------------------------- | ---------------------------------------------------------- |
| Not verified  | The code has no adapter-specific error text. | Check the log for `Status Code`, `URL` and `Method` lines. |

## Change history

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