INeS IoT Security Platform, version 1.9.6.4
The Firmware Management Service (FMS) of the INeS IoT Security Platform lets an organization manage and sign the firmware of its IoT devices:
FMS is a module that is enabled per tenant. CMS and DPS are always available; FMS is available only to tenants that subscribe to it (see section 1.3).
This document describes how to use the Firmware Management Service from the portal. The code signing REST API is described in the Developers Guide (Documents → Developers Guide).
Open the Firmware Management Service from the Firmware Management card on the HOME page ("Manage templates, certificates, firmware, and products."), or from the top bar: Services → Firmware Management.

The FMS menu contains: Dashboard, Templates, Certificates, Firmware and Products.
On every FMS form, the Tenant drop-down is shown to global roles only, and the Organization drop-down is hidden for organization-level roles.
The same rules apply to Products, Firmware, Signing Certificates and Signing Templates:
| Role | View | Create, edit, deactivate, re-activate, delete | Sign, re-sign | Download firmware |
|---|---|---|---|---|
| Admin | ✓ | ✓ | ✓ | ✓ |
| Tenant Admin | ✓ | ✓ | ✓ | ✓ |
| Organization Admin | ✓ | – | – | – |
| Tenant Operator, Organization Operator | ✓ | – | – | – |
| Auditor, Tenant Auditor | ✓ | – | – | ✓ |
| Organization Auditor | ✓ | – | – | – |
Important Note:
If your tenant does not subscribe to FMS:
403 MODULE_NOT_ENABLED_FOR_TENANT (see the Developers Guide).404.New tenants start with CMS and DPS enabled and FMS disabled. To subscribe to FMS, contact your WiseKey account manager.

The objects depend on each other. Create them in this order:
A product groups the firmware versions of one device product and defines how they are signed and downloaded.
Step 1: Open Products from the FMS menu, then click New (plus icon, above the list). The New Product form opens.
Step 2: Fill all the required fields (*):
http://, https:// or ftp://) and enter the Url Prefix*.Step 3: Save.

All products are listed with: Firmware Product ID, Name, Business Product ID, Description, Tenant (global roles), Organization and Status.
The list can be filtered by Tenant, Organization, Status and name.
The Actions menu allows to:

The Details page shows the Firmware Management Configuration, Product Information and Identifying Information. The possible operations are: Edit, Deactivate or Re-activate, and Delete (only when Inactive).
Deactivating a product stops the distribution of every firmware version of the product. The portal asks for confirmation: "Devices will stop receiving every firmware version of this product…".
A firmware is one version of a product.
Step 1: Open Firmware from the FMS menu, then click New (plus icon, above the list). The New Firmware form opens.
Step 2: Fill all the required fields (*):
.stm32 for a TF-A (STM32) template, .bin for FIP (STM32), and .bin, .img, .dll or .so otherwise. The same file (same SHA-256) cannot be uploaded twice.firmware.bin with your file. A hexadecimal hash must have 64, 96 or 128 characters for SHA-256, SHA-384 or SHA-512. Compute it with the Hash Algorithm of the signing template: a hash of another length is rejected, and the OpenSSL command uses that algorithm. No file name is asked for: the firmware is named {Component Name}_{Version Name}.bin, as through the API, and that name can have at most 255 characters.Step 3: Save. The new version is in state New.
Important Note: you do not choose the template, the signing certificate, the upload method or the hash algorithm when you create a firmware. They always come from the default signing template of the product. Creation is refused if the product is Inactive, has no template, if the template is Inactive, or if the signing certificate is missing, expired or Inactive.

All firmware versions are listed with: ID, Component Name, Version ("Version Name (ID: n)"), Product, Type (File or Hash), Created at, Tenant, Organization and Status (for example New, Signed).
The list can be filtered by Tenant, Organization, name or version, Firmware Type, and creation date (From / To, UTC).

The Firmware details page starts with a status banner (for example Signed), followed by:
For a firmware created with the Hash upload method, the page shows a Hash-Only Firmware notice: "This firmware was created using only hash values. The actual firmware file is managed externally and not stored in this system." The Firmware Artifact section then shows a Reference Name instead of a file name.
The Deactivate (or Re-activate) button is at the bottom of the page.
A version can be edited only while it is in state New. In file mode, editing requires uploading the file again.

Signing is done from the Firmware Details page. There is no separate signing page.
Step 1: Open the Details page of a version in state New, then click Sign.
Step 2: If the signing certificate does not store its PFX password, the Enter PFX Password dialog opens. Enter the PFX Password and click Sign.
The firmware is signed with the certificate and template of its product. When signing is done, the version becomes Signed and the signed package can be downloaded from the Download File section.

Re-sign: when a Signed version uses a signing certificate that has expired, a Re-sign button is shown. In the Re-sign Firmware dialog, choose a valid Signing Certificate and the Hash Algorithm (the current one is shown), plus the PFX Password if the certificate does not store it. If re-signing fails, the version keeps its previous certificate and algorithm.
STM32MP firmware is signed through the API only. The portal signs with Single PFX certificates. For STM32MP13 and STM32MP15 key material, use the code signing API (Developers Guide): the API returns a signing job, and the signed image is downloaded from the job. When the job succeeds, a Signed firmware version appears in the portal; its Download File section shows "Signed on the External Tools VM", and the signed image must be downloaded from the signing job.
Signing history: there is no separate history page. Use the Status column of the Firmware list, the Signing Snapshot of the Details page, and the Audit Log (Sign operations on Firmware).
A firmware version can be deactivated and re-activated from its Details page.
The status banner on the Firmware Details page shows when a version is not distributed:

A signing certificate holds the key material used to sign firmware.
Step 1: Open Certificates from the FMS menu, then click New (plus icon, above the list). The New Signing Certificate form opens.
Step 2: Fill all the required fields (*):
| Key Material Type | What you upload | Slots | Signing |
|---|---|---|---|
| INeS native — Single PFX (default) | Pfx File* (.pfx, .p12) and Pfx Password* |
1 | Portal and API |
| STM32MP13 — Key package | Key Bundle ZIP* | 8, in order | API only |
| STM32MP15 — Single key | Key Bundle ZIP* | 1 | API only |
Step 3: Save.
Key Bundle ZIP for STM32MP. The ZIP contains the keys and a passwords.txt file with their passwords; no password is entered on the form. Use one of these layouts, not both:
privateKeyNN.pem + publicKeyNN.pem, as produced by the vendor key generation tool; orkeyNN.pfx.NN is the slot number. STM32MP13 uses 8 slots, STM32MP15 uses 1. If publicKeyHashNN.bin files are present, they are checked against the keys.
Errors:

All signing certificates are listed with: ID, Name / Issued DN, Valid From, Valid To, Thumbprint (for key packages: "Slot NN: fingerprint"), Key Material Type, Tenant, Organization and Status.
The list can be filtered by Tenant, Organization, thumbprint or subject, and issue date (From / To, UTC).

The Details page shows the Certificate Subject Information, the Details (Name, Serial Number, Issued At, Signature Algorithm, Valid From / Until, Status), the Key Material (type, curve, active signing slot and, for each slot, its public key fingerprint) and the Identifying Information.
On the Edit page:
A signing template defines how a firmware is signed.
Step 1: Open Templates from the FMS menu, then click New (plus icon, above the list). The button is shown only to roles that can create templates. The New Signing Templates form opens.
Step 2: Fill all the required fields (*):
Step 3: Save.

All signing templates are listed with: ID, Name, Certificate, Upload Method, Hash Algorithm, Hash Format, ECDSA Signature Encoding, Tenant, Organization and Status.
The list can be filtered by Tenant, Organization, Status and name.
The Details page shows the Signing Configuration, the Template Information and the Identifying Information.

Products, firmware, signing certificates and signing templates follow the same rules:

Devices download firmware and manifests from the platform. A download or a manifest request returns the same neutral 404 when:
Will change. The device download links and manifest URLs will change in a later release (token-based links and authenticated manifests). Do not build long-term integrations on the current URLs. The Developers Guide describes the current device API.
For the Global Administrator.
Open Administration, then Tenants → Modules in the left menu. To open the modules of one tenant directly, use the menu of that tenant's row in the Tenants list and choose Modules.
Only a Global Administrator can change modules. A Global Auditor can only view them.
The Modules page lists the tenants with their ID, name, Status and enabled modules (CMS, DPS, FMS badges). Click Search to filter the list by tenant name or ID, Status and FMS. Click Modules on a row to open the modules of that tenant.

The Tenant Modules page of a tenant shows one card per module, with its Mode, Origin, Revision and Last change.
The History table below lists every change: when (UTC), module, who made it, and the reason.

Step 1: On the Tenant Modules page, click Disable FMS….
Step 2: The Disable FMS for {tenant} dialog shows the module state now and after the change, and warns: "Every user of {tenant} loses FMS within 30 seconds: its pages, the code-signing API and firmware served to devices."
Step 3: Enter the Reason*. It is kept in the module history; not shown to the tenant.
Step 4: Type the tenant name in Type {tenant} to confirm, then click Disable FMS.
Every change is recorded in the module History and in the audit log, and takes effect within 30 seconds.
Step 1: On the Tenant Modules page of a tenant without FMS, click Enable FMS….
Step 2: The Enable FMS for {tenant} dialog shows the module state now and after the change.
Step 3: Fill the fields:
Step 4: Click Enable FMS. You do not need to type the tenant name to enable FMS.
