# Admit printers, phones and cameras to your wired network

> Register devices that can’t run an agent, by a certificate whose key they generate or by MAC address into a restricted VLAN.

Source: https://docs.trustaige.com/manage/headless-devices

Replace these placeholders with your organization's own values:

- `<your-restricted-vlan>`: Restricted VLAN, for example `30`. The Restricted VLAN for headless devices on the wired network’s settings in the hub.

Printers, IP phones, cameras and door controllers can't run Trustaige's agent
or hold a managed device's certificate. Trustaige admits them as **headless
devices**: an organization's record of the device, with no owner, no posture
and no seat, admitted to wired networks in one of two ways.

| | By certificate | By MAC address |
|---|---|---|
| What the device proves | It holds a private key it generated itself, certified by Trustaige | Nothing: a switch reports a MAC address, which anything on the same port can copy |
| Where it may join | Any port at the sites you allow | The switch port it was first admitted on, until you accept a move |
| Where it lands | The restricted VLAN, or a VLAN of its own | The restricted VLAN, or a VLAN of its own |
| Removing it | Disconnects it and revokes its certificate, so your own RADIUS servers refuse it too | Disconnects it and refuses its MAC address |

Prefer a certificate wherever the device supports 802.1X with EAP-TLS. Admit
by MAC only what can't, and keep those devices in a VLAN that reaches only
what they need.

## Before you start

| You need | Why |
|---|---|
| A wired network on Trustaige RADIUS, served at the site | Headless devices join wired networks only. Wi-Fi admits no device by MAC: an SSID's encryption would be a shared key. |
| Switches set up for 802.1X with MAB, as in [the switch guides](/manage/wired-8021x#guides-for-your-switch) | The switch asks Trustaige about each device. |
| A restricted VLAN | Where headless devices land, set on the wired network. |

## The restricted VLAN

Open the wired network under **Devices › Networks** and enter the
**Restricted VLAN for headless devices**, for example
`<your-restricted-vlan>`. While it is empty, the network admits no device by
its MAC address, and the activity says “A switch asked about a device by its
MAC address, and this site's wired network has no restricted VLAN for such
devices.”

Make it a VLAN that reaches only what headless devices need: the print
server, the call manager, the video recorder. A device can be given a **VLAN
of its own** in place of it.

## Add a device

1. Open **Devices › Networks**, then **Headless devices**, and choose **Add
   device**.
2. Under **How it proves itself**, choose **A certificate** or **Its MAC
   address**.
3. Enter its **Name** and its **MAC address**, in any form: colons, dashes or
   dots. Use the hardware address, not a private one.
4. Choose its **Kind**: **Printer**, **Phone**, **Camera**, **Access control**
   or **Other**. A **Phone** is marked as a voice device on Cisco and Meraki
   switches, so a multi-domain port places it in the voice VLAN.
5. Under **Where it may join**, choose **Every site**, or the sites you pick.
6. Optionally, enter a **VLAN of its own**. Empty places it in the wired
   network's restricted VLAN.
7. Choose **Add device**.

A device admitted by MAC can join as soon as it is added. A certificate
device joins once it holds its certificate (see [By
certificate](#by-certificate)).

## By MAC address

Each admission appears in the activity as “Admitted by its MAC address into
the restricted VLAN.” The device is accepted with a four-hour
`Session-Timeout`, so the switch asks again at least that often.

### Many at once

On **Headless devices**, choose **Import a CSV**. Upload a file, or paste the
rows, with a name, a kind and a MAC address on each, and an optional VLAN:

```csv title="headless-devices.csv"
name,kind,mac,vlan
Reception printer,printer,00:1b:a9:12:34:56,
Lobby camera,camera,00:40:8c:00:00:01,40
```

A first row of column names is skipped, and a blank kind is recorded as
**Other**. Choose **Where they may join**, check each row under **Review**,
and register the rows that are ready. A file holds up to 1,000 devices and
1 MB. Every imported device is admitted by its MAC address.

### Randomized MAC addresses are refused

A locally administered MAC address, one whose second hex digit is 2, 3, 6, 7,
A, B, E or F, is how a device randomizes its address, and it can change.
Trustaige refuses to register one, and refuses it at the switch. Turn off the
device's private or random address, and register its hardware address.

### Seen but not registered

When a switch asks about a MAC address no device is registered with,
Trustaige refuses it and lists it under **Seen but not registered** on
**Headless devices**: the MAC, the site, the switch port and when it was last
seen. Choose **Register** to add it, by its MAC address, as reported by the
switch.

### Held to its first port

The first time a device is admitted by MAC, Trustaige records the switch and
port, shown as **Held to** that port on the list and under **Where it is
held** on the device's page. The same MAC address on any other switch or port
is refused and audited, since a copied MAC address shows up exactly that way.
The activity says “The headless device appeared on a different switch port
from where it was first admitted. Accept the move if it is expected.”

When you moved the device yourself, choose **Accept move** on the list, or
**Accept a move to another port** on its page. Its session on the old port is
disconnected now; it is admitted at its next request, on whichever port it
asks from, and held there from then on.

## By certificate

A device added with **A certificate** shows a **Certificate** panel on its
page, with two ways to issue one. Either way, the certificate is signed from
your organization's network authority for a key the device generated and
still holds, and names the device `tq-hd-` followed by its ID, whatever
subject the device asked for. Trustaige accepts an RSA key of 2048 bits or
more, or an ECDSA key on P-256 or P-384.

A certificate device isn't held to a port; the key is the proof. Its
certificates are listed in the panel with their expiry. Within 30 days of the
newest one's expiry, the panel says so: sign a new request, or create a new
challenge for a device that doesn't renew on its own.

### From the device's request

1. On the device's web page, create a certificate signing request (CSR).
   The device keeps the private key.
2. On the device's page in the hub, under **From the device’s request**,
   paste the request and choose **Sign request**.
3. Download the **Certificate** and the **Chain** (or **Certificate with
   chain**) and load them into the device's 802.1X settings.
4. Download the **Server certificate authority** and load it as the
   authority the device validates the RADIUS server against. Where the device
   checks the server's name, enter the **Server name** shown beside it.
5. Turn on wired 802.1X on the device with EAP-TLS and that certificate. The
   EAP identity can be the device's name: Trustaige identifies the device by
   its certificate.

Where each common device keeps these settings:

| Device | Create the request | Load the certificate and chain | Turn on 802.1X |
|---|---|---|---|
| HP printers (FutureSmart) | Embedded Web Server: **Security › Certificate Management**, **Create Certificate Signing Request** | **Install Identity Certificate from CSR**; the authorities with **Import** | **Networking › 802.1X Authentication**, **EAP-TLS** |
| Brother | Web Based Management: **Network › Security › Certificate › Create CSR** | **Install Certificate**; the authorities under **CA Certificate › Import CA Certificate** | **Network › Wired › Wired 802.1x Authentication**, the **Client Certificate** |
| Xerox (AltaLink, VersaLink) | **Properties › Security › Certificates › Security Certificates**, **CA-Signed Device Certificate(s)**, **Create Certificate Signing Request (CSR)** | **Install Certificate** on the same tab; the authorities on **Root/Intermediate Trusted Certificate(s)** | **Connectivity › Setup › Wired Connection › 802.1X**, **EAP-TLS**, the **Authentication Certificate** |
| Ricoh | Web Image Monitor: **Configuration › Security › Device Certificate**, **Request** | **Install** on the same page; the authorities under **Root Certificate** | **Security › IEEE 802.1X**, **EAP-TLS**; the certificate chosen for **IEEE 802.1X**; **Ethernet Security** set to **Active** |
| Zebra (Link-OS) | The printer's `generate_csr` command for `WIRED`, not WebLink | The `place_cert` command; the authorities as `WIRED_CA.NRD` | `internal_wired.8021x.security` set to `eap-tls` |
| Axis cameras (AXIS OS) | **System › Security**, a certificate's **Create certificate signing request** | Under the same certificate; the authorities under **CA certificates** | **IEEE 802.1X**: **EAP-TLS**, the **Client certificate**, **Use IEEE 802.1x** |

> **Important:** Load only a certificate whose key the device generated. An older Zebra
> procedure uploads a private key to the printer (`WIRED_KEY.NRD`), and some
> devices accept a PKCS#12 file made elsewhere; Trustaige issues neither,
> because the key would have left the device.

### Through SCEP

For a device with a SCEP client, open **Through SCEP** on the device's page
and choose **Create one-time challenge**. The challenge works once, for this
device, for an hour, and is shown only once: leaving the page discards it.
Copy into the device:

- the **Challenge password**;
- the **SCEP server URL**, or the **SCEP server URL over HTTP** for a device
  that can't use HTTPS, such as a Cisco phone;
- the **CA fingerprint (SHA-256)**, or the **CA fingerprint (SHA-1)** for a
  device that asks for SHA-1;
- the **Server certificate authority** and **Server name**, for the device's
  server validation.

| Device | Where the SCEP settings go |
|---|---|
| Cisco IP phones on multiplatform firmware (8800 series, 12.0(7) and later) | **Certificate › Custom › SCEP Configuration 1**: **Server** (`CDC_Server_1_`) set to the **SCEP server URL over HTTP**, **Root CA Fingerprint** (`CDC_Root_CA_Fingerprint_1_`), **Challenge Password** (`CDC_Challenge_Password_1_`). Then **Enable 802.1X Authentication** with **Certificate Select** set to **Custom installed**. |
| Poly phones (VVX, CCX, Trio, Edge E) | `SCEP.enable`, `SCEP.url`, `SCEP.challengePassword` and `SCEP.CAFingerprint`, then `device.net.dot1x.enable` with `device.net.dot1x.method` set to `EAP-TLS`. Leave `SCEP.http.username` and `SCEP.http.password` unset. |

SCEP protects its own messages: each is signed and encrypted, and the device
checks the authority by the fingerprint you enter, which is why the plain-HTTP
URL is safe to use. A Cisco phone renews by itself, from its current
certificate, 15 days before it expires.

## Removing and revoking

- **Remove** a device, from the list or with **Remove device** on its page:
  its live sessions are disconnected now, and it is refused from then on. A
  certificate device's certificates are revoked with it.
- **Revoke certificate**, on one certificate in the panel: the device's live
  sessions are disconnected, and its next sign-in is refused.
- **Where it may join**: saving it without a site where the device has a live
  session disconnects that session.

Revoked certificates are listed in Trustaige's OCSP responses and CRLs, so a
RADIUS server of your own refuses them too. A revoked certificate can't be
restored; the device needs a new key and a new certificate.

## What isn't supported

- **A key made anywhere but the device.** Trustaige doesn't produce PKCS#12
  files, and doesn't take a private key uploaded with a certificate.
- **Static SCEP or EST passwords.** Every SCEP challenge is minted for one
  device and used once. HP's EST connector authenticates with a fixed user
  name and password, and HP printers have no SCEP or EST client of their own,
  so HP printers use the request path.
- **Canon's SCEP client.** Canon imageRUNNER ADVANCE devices enrol only from a
  Microsoft NDES server. Trustaige's SCEP endpoint isn't NDES.

## Troubleshooting

**“this MAC address is locally administered, as randomized addresses are, so it can change”**

The address you entered is randomized. Turn off the device's private address
and register its hardware address, usually printed on its label or its
network configuration page.

**Activity says “A switch asked about a MAC address no headless device is registered with.”**

Register the device, from **Seen but not registered** or with **Add device**.
Check the MAC address against the one the switch reported.

**Activity says “The headless device is not allowed at this site.”**

The device is limited to other sites. Add this site under **Where it may
join**.

**The device joins, but can't reach what it needs**

It landed in the restricted VLAN. Route that VLAN to the service the device
uses, or give the device a **VLAN of its own**.

**The certificate device's 802.1X fails before Trustaige decides**

The device doesn't trust the RADIUS server. Load the **Server certificate
authority** as its server authority, and check the **Server name** if the
device asks for one.

## What hasn't been confirmed yet

- Trustaige's lab hasn't yet recorded a Cisco phone enrolling. In particular:
  whether the phone takes the challenge in full (68 characters, beginning
  `tqc-`); which fingerprint its **Root CA Fingerprint** pins, since the hub's
  **CA fingerprint** is that of the issuing authority, and Cisco's newer
  documentation asks for the issuing authority's; and its renewal from the
  current certificate.
- Whether Poly phones reach the HTTPS SCEP URL hasn't been recorded in
  Trustaige's lab.
- Whether wired 802.1X with EAP-TLS is offered on every current HP FutureSmart
  model, and which key types each device's request page offers, varies by
  model and firmware.
- The Zebra commands come from Zebra's PrintSecure administration guide; the
  minimum Link-OS release for `generate_csr` isn't stated.

## Vendor documentation

- [HP Embedded Web Server: Certificate Management](http://ftp.ext.hp.com/pub/printers/ews_help/MultiFunctionPeripheral/en-US/1_1_3_1_8_3.html)
- [Brother: create a CSR](https://support.brother.com/g/s/id/htmldoc/mfc/cv_mfc4340dw/uke/html/GUID-819CBAE7-EA77-4526-923F-BE958C8A757D_1.html)
- [Xerox AltaLink: 802.1X](https://www.xerox.com/technical_product_documentation/AltaLink_B8100_C8100_B8200_C8200_Series/SystemAdminGuide/en-US/Xerox/Xerox/enlcfgr_802.1x_atembwbsvr.html)
- [Ricoh: request a device certificate](http://support.ricoh.com/bb_v1oi/pub_e/oi_view/0001037/0001037078/view/software/int/0306.htm)
- [Zebra PrintSecure administration guide](https://www.zebra.com/content/dam/support-dam/en/documentation/unrestricted/guide/software/printsecure-administration-guide-en.pdf)
- [AXIS OS web interface help](https://help.axis.com/en-us/axis-os-web-interface-help)
- [Cisco IP phone multiplatform security: SCEP](https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cuipph/MPP/common/ag_desk_mpp_6800_7800_8800/tpcc_b_cisco-ip-desk-phone-multiplatform/tpcc_m_cisco-ip-phone-security.html)
- [Canon imageRUNNER ADVANCE: SCEP](https://oip.manual.canon/USRMA-8773-zz-SSSX-1440-enAU/contents/devu-sec-ne_protect-key_certificate-scep.html)
