IBM Support

SAML configuration fails with "missing entityID" during IDP metadata validation

Troubleshooting


Problem

SAML configuration in Maximo Application Suite simply fails with "error" on the admin page. No error message is displayed.

Symptom

The coreidp log indicates the configuration is successfully processed, but the entity manager pod log shows failure due to "missing entityID" during validation despite entityID existing in the idpMetadata.xml.
Example of coreidp log showing success:
[10/05/2022, 20:51:37:361 UTC] 00001d81 ID=00000000 com.ibm.ws.security.saml.sso20.internal.SsoServiceImpl I CWWKS5000I: The SAML web SSO Version 2.0 configuration [mas-saml-sp] was successfully processed.
[10/05/2022, 20:51:37:361 UTC] 00001d2c ID=00000000 com.ibm.ws.config.xml.internal.ConfigRefresher A CWWKG0017I: The server configuration was successfully updated in 0.037 seconds.
[10/05/2022, 20:51:37:849 UTC] 00001d2c ID=00000000 rity.authentication.filter.internal.AuthenticationFilterImpl I CWWKS4358I: The authentication filter samlAuthFilter configuration was successfully processed.

Entitymgr idpcfg manager.log has the following entry
TASK [Debug] ********************************
[0;32mok: [localhost] => {[0m
[0;32m "msg": [[0m
[0;32m "SAML IDP metadata verified: False IDP metadata Validation Failed: missing entityID"[0m
[0;32m][0m
[0;32m}[0m
--------------------------- Ansible Task StdOut -------------------------------
TASK [fail] ********************************
[0;31mfatal: [localhost]: FAILED! => {"changed": false, "msg": "SAML configuration is incomplete, IDP metadata has not yet been provided."}[0m
The idpcfg.yaml also shows
- lastTransitionTime: '2022-05-10T20:52:00Z'
      message: >-
        SAML IDP metadata verified: False IDP metadata Validation Failed:
        Missing entityID
      Reason: ValidationFailed
      Status: 'False'

Cause

The problem is in the idpMetadata.xml file uploaded to MAS. Maximo Application Suite is expecting to have a single descriptor <md:EntityDescriptor as the root XML element. But the file uploaded has <md:EntitiesDescriptor as root element, which is not supported.

Resolving The Problem

To resolve the issue, remove the first and last lines of the descriptor from IDP XML file and reupload it to MAS.
<md:EntitiesDescriptor
</md:EntitiesDescriptor>
Wait for about 5 minutes and you see IDPCfg CR information saying IDP file verified: True.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSRHPA","label":"IBM Maximo Application Suite"},"ARM Category":[{"code":"a8m3p000000F81VAAS","label":"Maximo Application Suite-\u003EMAS Applications-\u003EManage-\u003ESecurity"}],"ARM Case Number":"TS009310854","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.7.0"}]

Document Information

Modified date:
23 August 2022

UID

ibm16609304