> 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/a/appviewx-cert+.md).

# AppViewX Cert+

AppViewX CERT+ is a certificate lifecycle management platform. OctoXLabs reads the certificates it manages, with their validity dates and issuer details.

## Use cases

* List the certificates that AppViewX Cert+ manages.

```
Adapters = appviewx-cert-plus
```

* List every certificates asset that AppViewX Cert+ contributes to the inventory.

```
Adapters = appviewx-cert-plus
```

* Check what one AppViewX Cert+ connection collected.

```
Connections = YOUR_CONNECTION_NAME
```

## Before you begin

### Network

| Source              | Destination                                               | Port                 | Protocol                                 |
| ------------------- | --------------------------------------------------------- | -------------------- | ---------------------------------------- |
| OctoXLabs connector | AppViewX CERT+ host (default system.AppViewXCertPlus.com) | 31443 (configurable) | HTTPS, or HTTP when Is Secure is cleared |

### Required permissions

Use a service account that can search and download certificates through the CERT+ API. See the vendor guide on [accessing the API with a service account](https://helpcenter.appviewx.com/techdoc/index?GuideSearch%5Bversion_id%5D=56\&GuideSearch%5Bproduct_id%5D=\&guide_html=2023.1.0_FP3/CERT/CERT%20Guides/webhelp-responsive/oxy_ex-1/CERT%20API%20Guide/accessing_api_with_service_account.html\&guide_pdf=2023.1.0_FP3/CERT/CERT%20Guides/cert_cert_guides.pdf). Required roles are not listed in the source.

## Create credentials in AppViewX Cert+

Create a service account in AppViewX CERT+ and note its Client ID and Client Secret. Follow the vendor guide linked above.

## Connection parameters

| Parameter           | Required | Type    | Default                     | Description                                                                                            |
| ------------------- | -------- | ------- | --------------------------- | ------------------------------------------------------------------------------------------------------ |
| Hostname or IP      | Yes      | String  | system.AppViewXCertPlus.com | Host name or IP address of AppViewX CERT+.                                                             |
| Port                | No       | Integer | 31443                       | Port of the API.                                                                                       |
| Client ID           | Yes      | String  | None                        | Service account Client ID.                                                                             |
| Client Secret       | Yes      | String  | None                        | Service account Client Secret.                                                                         |
| Gateway (gw) Source | No       | String  | external                    | Source from which the request is triggered. Sent as `gwsource`.                                        |
| Is Secure           | No       | Boolean | True                        | Use HTTPS. Clear it to use HTTP.                                                                       |
| Timeout             | No       | Integer | 30                          | Time in seconds to wait for API responses.                                                             |
| Thread Count        | No       | Integer | 32                          | Parallel threads. Minimum 1, maximum 32.                                                               |
| Sleep Time          | No       | Integer | 0                           | Seconds to wait while threads are started. A higher value lowers resource use and lengthens discovery. |

## Troubleshooting

| Error message                                                          | Cause                                                                  | Fix                                                                                                                                           |
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Status Code: `, followed by the URL, the method and the response body` | The API answered with a status other than the one the adapter expects. | Read the code and body. 401 or 403 usually points to wrong credentials or missing permissions. Check the address, port and Is Secure setting. |

## Change history
