# Admit Trustaige devices on Aruba ClearPass

> Configure ClearPass Policy Manager to admit Trustaige device certificates over EAP-TLS on one SSID, checked with Trustaige's OCSP responder on every join.

Source: https://docs.trustaige.com/manage/own-radius-clearpass

Replace these placeholders with your organization's own values:

- `<your-network-ca-id>`: Network authority ID, for example `3b8f6a1e-5c2d-4e7f-9a10-6d4c2b8e1f35`. The ID in the authority’s CRL address, under Your RADIUS server on the network’s page.
- `<your-ssid>`: Network name (SSID), for example `Acme-Secure`. The Wi-Fi name the network broadcasts, as entered in the hub.

This guide sets up ClearPass Policy Manager to admit devices to one SSID by
their Trustaige certificate. ClearPass trusts your organization's authorities
for EAP, checks every certificate with Trustaige's OCSP responder, and lets in
only Trustaige network certificates.

Start from [Your own RADIUS server](/manage/own-radius-server): the network
must exist in the hub with **Your RADIUS server** as its server, and you need
the addresses from its **Your RADIUS server** page.

1. Device → Access point: joins the SSID
2. Access point → ClearPass: Access-Request with EAP-TLS
3. ClearPass → Device: ClearPass’s RADIUS certificate
4. Device → ClearPass: the device certificate
5. ClearPass → Trustaige: OCSP request to the authority’s responder
6. Trustaige → ClearPass: good, revoked, or on hold
7. ClearPass → Access point: the enforcement profile

## Before you start

| You need | Why |
|---|---|
| Each authority's certificate | Download each from `https://id.trustaige.com/pki/ca/<your-network-ca-id>.crt`, with the ID from that authority's CRL address under **Trust bundle** on the **Your RADIUS server** page. During a rollover there are two. |
| Outbound HTTPS from ClearPass to `id.trustaige.com` | ClearPass fetches OCSP from there. |
| Your access points as network devices in ClearPass | They already are, if ClearPass serves them today. |

## Set up ClearPass

1. **Trust your authorities for EAP.** Go to **Administration › Certificates ›
   Trust List** and choose **Add**. Add each authority's certificate, check
   **EAP** under **Usage**, and enable it.

2. **Add an EAP-TLS method with OCSP.** Go to **Configuration › Authentication
   › Methods** and add a method of type **EAP-TLS** named `Trustaige EAP-TLS`:
   - **Verify Certificate using OCSP**: **Required**.
   - **Override OCSP URL from Client**: off. Each certificate names its own
     authority's responder, so rollovers need no change here.
   - **Authorization Required**: off. These devices have no directory
     account; the enforcement policy below decides.

3. **Add an enforcement policy.** Go to **Configuration › Enforcement ›
   Policies** and add one named `Trustaige devices`, with **[Deny Access
   Profile]** as its default profile and one rule: `Certificate:Subject-CN`
   **BEGINS_WITH** `tq-` gives **[Allow Access Profile]**, or the profile
   that places the device in its VLAN.

4. **Add a service for the SSID.** Go to **Configuration › Services**, add an
   **802.1X Wireless** service named `Trustaige network`, and add a rule:
   `Radius:IETF` `Called-Station-Id` **ENDS_WITH** `:<your-ssid>`. On its
   **Authentication** tab, use `Trustaige EAP-TLS` as the only method. On its
   **Enforcement** tab, use `Trustaige devices`. Move the service above any
   other service that would match the same SSID.

The enforcement rule matters. Your authorities also sign device-management
identities (`eid:…`) and RadSec controller certificates (`nas-…`); only
subjects starting with `tq-` are network certificates.

Trustaige answers `revoked` for a revoked certificate and for one on hold, so
ClearPass refuses both. With OCSP **Required**, ClearPass also refuses when it
can't get an answer, which is what you want.

## What hasn't been confirmed yet

Trustaige's lab hasn't yet recorded two things about ClearPass:

- whether it anchors on an authority below a root without the root itself. If
  joins fail with `unknown_ca` while every authority is in the trust list, add
  the root too (**Download root** under **For servers that cannot trust an
  intermediate** on the **Your RADIUS server** page), and add a second
  condition to the
  enforcement rule: `Certificate:Issuer-CN` **EQUALS** your authority's name as
  the hub shows it (`<organization> MDM CA`). The root vouches for every
  organization's authority, so that condition is what keeps access to your
  organization's devices.
- whether it fetches OCSP over HTTPS. If every join fails its OCSP check while
  `id.trustaige.com` is reachable, have ClearPass [forward this SSID to
  Trustaige RADIUS](/manage/forward-from-clearpass) instead.

## Rollover

When the hub shows a generation that **Takes over on** a date, add it to the
**Trust List** with **EAP** usage. Nothing else changes: each certificate
names its own authority's OCSP responder. Remove the retiring authority only
after its **certificates in use** reaches zero.

## Check it works

Join from a device, then open **Monitoring › Live Monitoring › Access
Tracker**. The request shows the service it matched, the authentication
method, the enforcement profile applied and, on its **Alerts** tab, why a
join was refused.

## Troubleshooting

**Access Tracker shows a TLS alert `unknown_ca`**

ClearPass doesn't trust the authority that issued the device's certificate.
Check that every authority from the **Your RADIUS server** page is in the
**Trust List**, enabled, with **EAP** usage. If they all are, see [What
hasn't been confirmed yet](#what-hasnt-been-confirmed-yet).

**Access Tracker says the certificate is revoked**

The device's certificate is revoked or on hold. Open the device in the hub: a
hold lifts when the device is unblocked, leaves Lost Mode, becomes compliant,
or its owner is an active member again.

**Every join fails its OCSP check**

ClearPass can't fetch status from `id.trustaige.com`. Allow its outbound
HTTPS, check that **Override OCSP URL from Client** is off, and see [What
hasn't been confirmed yet](#what-hasnt-been-confirmed-yet).

**The request matches another service**

Services are tried in order. Move `Trustaige network` above the service that
matched, and check that the access point sends `Called-Station-Id` with the
SSID after a colon.

**The certificate checks pass, then Deny Access is applied**

The certificate's subject doesn't start with `tq-`. A device with no `tq-`
certificate hasn't received its network certificate yet; the network's page
in the hub lists each device and why it can't join yet.

## Aruba's documentation

HPE Aruba Networking's ClearPass Policy Manager user guide, in the edition for
your release, covers each screen used here: the **Trust List** under
certificates, **EAP-TLS** under authentication methods, enforcement policies,
and services.
