IBM Support

SAML: How to add the IdP signer certificate

How To


Summary

How to add the IdP signer certificate for SAML web SSO in WebSphere Application Server traditional.

Objective


Once you have you have protected the snoop application by trusting any signer, can add the IdP's signer certificate so that you trust SAML Responses only from your IdP.

Environment

This task uses WebSphere Application Server traditional, the snoop application, and your own identity provider.  Take note of the following assumptions and the steps that you need to take before you begin.
    

Assumptions

  • The host and SSL port of the local system in this task is example.com:9443
  • You have a SAML Identity Provider (IdP) from which to obtain a signing certificate or metadata file.
    • You get the metadata file from your IdP administrator.
  • The WebSphere global security domain is used.
  • The WebSphere administrative console is used to configure the SAML TAI.
  • Your logs directory is (was_home)/WebSphere/AppServer/profiles/(profileName)/logs/(serverName)
  • Your trace file is (was_home)/WebSphere/AppServer/profiles/(profileName)/logs/(serverName)/trace.log

Before you begin


Steps

  1. Add the IdP signer certificate to the trust store.
    Using the metadata file that you received from your IdP administrator, follow the instructions in one of the following tasks in the IBM Documentation:
  2. Modify your SAML TAI configuration to set trustAnySigner to false:
    1. In the administrative console, navigate to Security > Global security > Web and SIP security > Trust association > Interceptors > com.ibm.ws.security.web.saml.ACSTrustAssociationInterceptor
    2. Select sso_1.sp.trustAnySigner, then click Edit
    3. Set the value to false.
    4. Click OK
    5. Click Save
    6. Restart the server
  3. In a new browser window, navigate to https://example.com:9443/snoop
    • image-20240716104051-1 Remember to replace example.com and 9443 with your own host and port.
    • After the user logs in, the snoop application is displayed in the browser.
    • image-20240716103340-1

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"ARM Category":[{"code":"a8m0z000000Cbp2AAC","label":"WebSphere Application Server traditional-All Platforms-\u003ESecurity-\u003ESSO-\u003ETAI"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
25 September 2024

UID

ibm17160417