# Admit Trustaige devices on FortiAuthenticator

> Configure FortiAuthenticator to admit Trustaige device certificates over EAP-TLS with your authorities as trusted CAs, and refuse revoked or held devices.

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

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 FortiAuthenticator to admit devices to one network by their
Trustaige certificate. A RADIUS policy in **Trusted CA(s)** mode accepts a
certificate that one of your organization's authorities signed, that hasn't
expired, and that isn't on the authority's revocation list.

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. FortiAuthenticator → Trustaige: the authority’s CRL
2. Device → Access point: joins the SSID
3. Access point → FortiAuthenticator: Access-Request with EAP-TLS
4. FortiAuthenticator → Device: FortiAuthenticator’s certificate
5. Device → FortiAuthenticator: the device certificate: issuer, expiry and CRL checked
6. FortiAuthenticator → Access point: Access-Accept or Access-Reject

Labels below follow FortiAuthenticator 6.6.

## Two things to know first

**Revocation comes from the CRL.** In **Trusted CA(s)** mode,
FortiAuthenticator checks a certificate against a CRL it holds for the
issuing authority; Fortinet documents no OCSP check for it. Trustaige's CRL
lists revoked and held certificates alike, so both are refused once
FortiAuthenticator has the current list. Each CRL is republished within 10
seconds of a change and hourly, and is valid for 90 minutes. Whether
FortiAuthenticator downloads it on its own from the address in each
certificate, over HTTPS, hasn't been confirmed in Trustaige's lab yet; see
[Keep the CRL current](#keep-the-crl-current).

**Trusted CA(s) mode has no subject rule.** It admits any client certificate
your authorities signed. Besides network certificates (`tq-…`), they sign the
identity each Mac, iPhone and iPad uses for device management, and RadSec
certificates for access point controllers. Their keys are on devices and
controllers your organization manages, but FortiAuthenticator can't tell them
apart from network certificates. To admit network certificates only, [forward
this network to Trustaige RADIUS](/manage/forward-from-radius-server) instead.

## Set up FortiAuthenticator

1. **Import your authorities as trusted CAs.** Go to **Certificate Management
   › Certificate Authorities › Trusted CAs** and choose **Import**. For each
   authority, enter a **Certificate ID** (for example `trustaige-gen1`),
   choose **Upload a file**, and upload its certificate, downloaded from
   `https://id.trustaige.com/pki/ca/<your-network-ca-id>.crt` with the ID
   from its CRL address under **Trust bundle** on the **Your RADIUS server**
   page. During a rollover there are two.

2. **Import each authority's CRL.** Download it from
   `https://id.trustaige.com/pki/crl/<your-network-ca-id>.crl`. Go to
   **Certificate Management › Certificate Authorities › CRLs**, choose
   **Import**, then **Upload a file**.

3. **Register your access points.** Go to **Authentication › RADIUS Service ›
   Clients** and choose **Create New**: a **Name**, the **Client address**,
   and the **Secret** the access point uses. Turn on **Require client to send
   Message-Authenticator attribute**.

4. **Add the policy.** Go to **Authentication › RADIUS Service › Policies**
   and create one:
   - **RADIUS clients**: the access points above.
   - **RADIUS attribute criteria**: `Called-Station-Id` ending in
     `:<your-ssid>`, so the policy applies to this network alone.
   - **Authentication type**: **Client Certificates (EAP-TLS)**.
   - **Authentication mode**: **Trusted CA(s)**.
   - **Trusted CA certificates**: your Trustaige authorities, and nothing
     else. This is the issuer restriction: a certificate from any other
     authority, another organization's included, is refused.

   Move the policy above any that would match the same requests; policies are
   tried from the top.

## Keep the CRL current

Trustaige's CRL is valid for 90 minutes. After your first join, open **CRLs**
and choose **Automatic Downloads**: it lists the CRLs FortiAuthenticator
fetched on its own. If the authority's CRL is listed there and its date moves
on, FortiAuthenticator is keeping it current from the address in each
certificate.

If nothing appears there, FortiAuthenticator only knows the CRL you imported,
and a revocation or hold after that import isn't seen. Fortinet doesn't
document how it treats a CRL past its next update. In that case, [forward the
network to Trustaige RADIUS](/manage/forward-from-radius-server), which checks
every device's standing on every join.

## Whether the root is needed

Whether FortiAuthenticator accepts a certificate signed by a trusted CA that
is itself below a root, without the root, hasn't been confirmed in Trustaige's
lab yet. Don't add the platform root as a trusted CA for this policy: Trusted
CA(s) mode would then admit every organization's devices, since the root
vouches for all of their authorities. If joins fail with your authorities
imported, [forward the network to Trustaige
RADIUS](/manage/forward-from-radius-server) instead.

## Rollover

When the hub shows a generation that **Takes over on** a date, import it under
**Trusted CAs** and its CRL under **CRLs**, and add it to the policy's
**Trusted CA certificates**. Remove the retiring authority only after its
**certificates in use** reaches zero.

## Troubleshooting

**The log says the client certificate's issuer isn't trusted**

The device's certificate comes from an authority that isn't in the policy's
**Trusted CA certificates**. After a rollover, import the new generation and
add it to the policy.

**A device is refused as 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, and drops off the next CRL.

**A device the hub shows as blocked still joins**

FortiAuthenticator is checking an old CRL. See [Keep the CRL
current](#keep-the-crl-current).

**Requests for the network match another policy**

Policies are tried from the top. Move this one above the policy that matched,
and check that the access point sends `Called-Station-Id` with the SSID after
a colon.

## Fortinet's documentation

- [Trusted CAs](https://docs.fortinet.com/document/fortiauthenticator/6.6.0/administration-guide/22658)
- [Certificate revocation lists](https://docs.fortinet.com/document/fortiauthenticator/6.6.0/administration-guide/302975)
- [RADIUS clients](https://docs.fortinet.com/document/fortiauthenticator/6.6.2/administration-guide/622363/clients)
- [RADIUS policies](https://docs.fortinet.com/document/fortiauthenticator/6.6.0/administration-guide/416152)
