Device and request states
Device states
Section titled “Device states”registered ──▶ shipped ──▶ active │ │ │ └────────────┴───────────┴──▶ returned ──▶ retired (final)| State | Meaning | Issue and renew |
|---|---|---|
registered |
In the registry | Yes |
shipped |
Shipped | Yes |
active |
Operating in the field | Yes |
returned |
Returned | No (409 DEVICE_INACTIVE) |
retired |
Decommissioned. Cannot be undone | No |
Change states with PATCH /v1/devices/{serial}. Moving to retired revokes the device’s valid certificate right away as cessationOfOperation. To ship a returned device again, set it back to shipped.
One valid certificate per device
Section titled “One valid certificate per device”A device has at most one valid certificate. A new issue for a device that has one returns 409 CERTIFICATE_EXISTS; use renewal instead. Renewal revokes the old certificate as superseded once the new one is issued.
Issuance requests
Section titled “Issuance requests”Every issue and renewal leaves an issuance request. The flow depends on your vendor’s issuance mode, set at approval.
| Mode | Response | Flow |
|---|---|---|
| Automatic | 201 with certificate and chain |
Request → checks → issued (approved) |
| Manual | 202 with the request |
Request (pending) → Solarize approves → issued (approved), or rejected (rejected, with a reason) |
On manual issuance, poll GET /v1/requests/{id}. Once it is approved, use certificateSerial to fetch the certificate and chain. Requesting again for a device with a pending request returns 409 REQUEST_PENDING.
Checks before issuing
Section titled “Checks before issuing”Every issue, automatic or manual, checks that:
- The vendor is approved and not suspended
- The device is in the registry and not
returnedorretired - The device type is one the vendor is approved for
- The device has no valid certificate and no pending request
- No other device’s valid certificate uses the same chip ID or RTU ID
- The CSR is P-256 and its signature verifies