Identity Certificate

Apple and Windows devices enrolled in Relution receive an Identity Certificate. This is valid for one year and is automatically renewed as long as active communication with the device exists.

However, it can happen that devices are stored or inactive, preventing the identity certificate from being renewed in time. For security reasons, Relution blocks all communication with the device if the identity certificate has expired.


Automatic Renewal

By default, Windows devices start renewing their identity certificate 70 days before it expires. As of Relution 26.5.5, this period can be set in days via relution.mdm.windows.identity-cert.renew-if-expiring-within in the application.yml (environment variable RELUTION_MDM_WINDOWS_IDENTITYCERT_RENEWIFEXPIRINGWITHIN); values from 30 to 330 days are allowed (e.g. renew-if-expiring-within: 90). The change takes effect after a server restart. A device only receives the new value with its next enrollment or certificate renewal.

One-Time Renewal after the Update

After the update to Relution 26.5.5 or later, Relution renews the identity certificates of older devices once. No configuration is required:

  • Windows devices receive the action Renew client certificate. The renewal starts 10 minutes after server startup and then covers up to 400 devices every 20 minutes. The actions appear in the action history of the devices.
  • Apple devices receive a renewed MDM profile, at most once every 7 days per device.

Devices that are offline catch up on the renewal as soon as they are reachable again. If the renewal of a device has failed, it is triggered again after 7 days at the earliest.

Renewal by the Server before Expiration

As of Relution 27.0.2, the server triggers the renewal itself if a Windows device has not yet renewed its identity certificate shortly before it expires. The device then receives the action Renew client certificate. The period can be set in days via relution.mdm.windows.identity-cert.force-renew-before-expiration in the application.yml (environment variable RELUTION_MDM_WINDOWS_IDENTITYCERT_FORCERENEWBEFOREEXPIRATION); values from 1 to 30 days are allowed, the default is 30 days. It therefore always lies within the period from renew-if-expiring-within, so the device renews first.

Old Relution Windows Phone Root CA

As of Relution 26.5.7, for security reasons, Windows identity certificates that were still issued by the old Relution Windows Phone Root CA are no longer trusted by default. Only very old enrollments are affected; these devices need to be re-enrolled. As a temporary measure, the old behavior can be re-enabled with relution.mdm.windows.identity-cert.legacy-root-trusted: true in the application.yml (environment variable RELUTION_MDM_WINDOWS_IDENTITYCERT_LEGACYROOTTRUSTED, default false). Relution then writes a warning to the log at every server startup. Once the affected devices have been re-enrolled, the default value is restored.


Checking and Renewing the Identity Certificate

Affected devices can be checked under Navigation → Devices → Inventory → [Device] in the Information tab within the Security block.

Three relevant fields are available here:

  • Identity certificate expiration date
  • Identity certificate expired
  • Trust expired identity certificates

If the identity certificate has expired and Trust expired identity certificates is not yet active, hovering the mouse over this row displays the Edit button (pencil icon). Clicking it opens a confirmation dialog. With Confirm, Relution temporarily accepts MDM messages signed with the expired certificate and initiates the renewal: for Windows devices, an action to renew the client certificate is queued; for Apple devices, the MDM profile is updated. This restores the communication with the device as trustworthy, allowing MDM commands to be processed. Once the device has received a new identity certificate, Relution resets Trust expired identity certificates automatically.

The action requires the permission to edit devices.

Trusting expired certificates poses a security risk, for example if the identity certificate has been exposed to a third party.

Identity certificate expiration and trust settings on device details page

Important Note: The action is available as soon as the identity certificate has expired and can also be performed while the device is offline. As soon as the device is online again, it receives a new, valid identity certificate.

Multiple affected devices can be found under Navigation → Devices → Inventory using the filters Identity certificate expired and Trust expired identity certificates.

How helpful was this article?