Onboarding Mechanisms¶
This document outlines the different mechanisms available to onboard devices to Trustpoint, including user-driven and automated methods. These methods aim to streamline the process of issuing initial certificates (domain credentials) that are used for secure device authentication with Trustpoint.
Overview¶
Trustpoint provides multiple methods for onboarding devices. These methods are grouped into two categories: user-driven onboarding and zero-touch onboarding. User-driven onboarding is currently the primary and most mature approach, while zero-touch onboarding is available as an experimental implementation intended for evaluation and further development.
During onboarding, Trustpoint issues a domain credential to the device. This credential establishes the device’s identity within the selected domain and enables it to authenticate securely with Trustpoint. The following sections describe the supported onboarding methods, their authentication mechanisms, and their current maturity levels.
No Onboarding¶
In certain industrial environments, especially those with air-gapped systems, legacy devices, or extremely restrictive policies, onboarding devices to Trustpoint may not always be feasible or necessary.
In these cases, devices may continue to operate without a domain credential managed by Trustpoint. However, this approach is discouraged as it introduces security risks and limits the device’s ability to participate in secure, authenticated communication within the industrial network.
Trustpoint aims to reduce the need for “No Onboarding” scenarios by providing flexible onboarding methods and supporting various industrial standards. However, it acknowledges that in specific edge cases, operating without an onboarding process may still occur.
User-Driven Onboarding¶
User-driven onboarding is the primary method available for onboarding devices to Trustpoint. This method offers several options, depending on the user’s preferences and available resources.
Authentication¶
To initially secure the client’s request for a domain credential, various methods can be used depending on the onboarding:
IDevID onboarding: EST and CMP both support an initial onboarding with the IDevID on the device. To do this, the initial request (for CMP an initialization request [ir]; for EST a
/simpleenroll) must be signed with the IDevID.Shared secret: Onboard a new device using CMP and a shared secret.
Password: Onboard a new device with EST protocol using a username and password
One Time Password (OTP): Browser onboarding can be carried out using a one-time password
Using the device CLI¶
Users can also onboard their device manually by executing commands on the device command line interface (CLI).
How It Works:
A new device with one of the the following options:
CMP with shared secret onboarding
CMP with IDevID onboarding
EST with username and password onboarding
EST with IDevID onboarding
In Devices click Manage on the new device
Click Help - Issue New Credentials
Copy the provided (OpenSSL) commands to your clipboard and execute it on the device
Upon successful submission, the device is issued a domain credential for authentication.
Requirements:
A Linux machine with access to the command line.
Necessary permissions.
A connection to communicate with Trustpoint services.
OPC UA GDS Push Onboarding¶
OPC UA Global Discovery Server (GDS) Push is a standardized mechanism for distributing and updating certificates, trust anchors, and Certificate Revocation Lists (CRLs) to OPC UA servers. This method is particularly suited for industrial automation environments using OPC UA.
How It Works:
OPC UA servers are registered with Trustpoint
Trustpoint manages certificates and trust anchors for the servers
Trustpoint uses the OPC UA GDS Push protocol to securely deliver certificates, trust anchors, and CRLs to registered servers
Requirements:
OPC UA server(s) configured to support GDS Push
Network connectivity between Trustpoint and the OPC UA servers
Proper firewall rules to allow OPC UA GDS Push communication
Trustpoint Integration:
In Devices → Devices, create a device and select OPC UA GDS Push to register an OPC UA server. Push devices are managed on this same standard Devices page.
Configure the server’s connection details (hostname, port)
Add the servers initial server certificate as a truststore
Finish onboarding by pushing the initial (Trustpoint) issued server certificate to the OPC UA server
Zero-Touch Onboarding (Experimental)¶
Trustpoint is actively developing a zero-touch onboarding feature. This mechanism will allow fully automated onboarding without any user intervention, simplifying the process even further. Zero-touch onboarding is designed for use in environments where many devices need to be onboarded without manual effort, providing a scalable solution for large deployments.
How It Works:
Devices are pre-configured with Trustpoint information before deployment.
Upon connecting to the network, the device automatically requests and receives an initial certificate, completing the onboarding process without user interaction.
Requirements:
Network infrastructure to support automated onboarding.
Trustpoint includes an experimental zero-touch onboarding implementation based on the AOKI protocol. This feature is not yet intended for production use. This is a simple protocol that uses mDNS to discover the Trustpoint server and then uses a simple REST API for mutual trust establishment. Afterwards, the device can use a standard PKI protocol (CMP or EST) to request a domain credential (LDevID). Before the device can be onboarded, it must possess a valid IDevID (Initial device identifier per IEEE 802.1AR) certificate. The Trustpoint needs to have a valid trust anchor certificate for the device’s IDevID certificate added as a Truststore. It also needs an DevOwnerID credential, which is issued by the manufacturer and verified by the device to authenticate the Trustpoint.
This feature is not yet intended for production use.
How to¶
(Optional) Generate IDevID and ownership certificates This can be done by executing
uv run manage.py aoki_gen_test_certs.Add DevOwnerID to Trustpoint Add the DevOwnerID credential in the
PKI -> DevOwnerIDssection.Add IDevID Truststore in Trustpoint A Truststore containing the certificate chain of the IDevID has to be added. Add a DevID registration pattern for the domain you want the device to onboard to and select the IDevID truststore. Make sure “Auto-Generate new Device” is enabled in the domain config.
Start AOKI Onboarding AOKI-EST: Run
uv run -m aoki.tests.clientfrom thetrustpointdirectory. This will start the AOKI test client.AOKI-CMP: Run
uv run -m aoki.tests.cmp_clientfrom thetrustpointdirectory. This can be implemented with a low amount of custom code, as CMP is handled by OpenSSL.
Optional custom device secrets¶
Automatic generation remains the default for CMP shared secrets, EST/REST passwords, and SCEP challengePassword values. To permit custom input, enable Allow user defined device secrets in Security settings with the global credential TTL unset. Modes or deployment restrictions requiring a TTL cannot enable custom secrets. Configuration changes reject conflicts without silently clearing either setting.
The optional TP_SECURITY_ALLOW_USER_DEFINED_DEVICE_SECRETS environment setting
accepts true or false. Leaving it unset preserves the stored choice; a new installation
defaults to false. Disabling custom input preserves existing values and their stored
expiry. Generated replacements remain available for eligible devices.
On device creation, select Generate automatically or Enter custom secret for selected credential protocols. Custom values must contain 1–128 printable ASCII characters, including spaces. Leading and trailing spaces are preserved. The UI requires confirmation and warns that chosen values may be weak or reused. EST and REST share one password; replacing it changes authentication for both enabled protocols.
In certificate lifecycle management, select Change device secret in the Configuration section to open a separate page and replace one credential. The previous value immediately stops authorizing new requests. Completed onboarding cannot restore bootstrap credentials. A consumed SCEP challenge cannot be reset, even after its expiry; its retained material supports response encryption and verified retries without authorizing another initial enrollment.
Credential |
Expiry |
|---|---|
CMP/EST/REST without onboarding |
No expiry, regardless of global TTL |
CMP/EST/REST bootstrap credential |
Global TTL on assignment, or no expiry when unset |
SCEP challengePassword |
Global TTL on assignment, or no expiry when unset |
Expired, eligible credentials can be replaced through CLM or the help page’s explicit POST recovery action. Recovery generates a fresh value; it never extends an old value. Unrelated edits preserve credentials and expiry timestamps.
Management API¶
Device creation accepts nested onboarding_config or no_onboarding_config objects.
The no-onboarding object’s pki_protocols is a bitmask: CMP=1, EST=4, REST=32, SCEP=64
(and Manual=16). Omitted creation secrets are generated. Explicit cmp_shared_secret,
est_password, or scep_challenge values are custom assignments subject to the flag.
Omitting credentials on PATCH preserves them. Empty/null custom values are errors.
Custom assignments cannot include per-device TTL or expiry overrides. No-onboarding
configuration does not accept expiry overrides.
For explicit replacement, POST to /api/devices/<id>/change-secret/:
{"credential": "est_password", "action": "generate"}
Or, when custom input is enabled:
{"credential": "est_password", "action": "custom", "value": "exact chosen value"}
The response contains the replacement value. Normal configuration responses do not return password fields. Replacing a configuration by ID or changing a device’s configuration type through PATCH is unsupported. Device-management permission is required for replacement and recovery. Agent-managed and upstream CA credentials are outside custom assignment.