My Oracle Support Banner

While setting up SAML Between a WebLogic Portal (WLP) Producer and a WLP Consumer, Getting a "SAML Key Manage failed to validate key (Assertions signing) configuration in the FederationServicesMBean, key alias: testalias" error (Doc ID 1462879.1)

Last updated on JANUARY 24, 2025

Applies to:

Oracle WebLogic Portal - Version 9.2.0 to 10.3.7 [Release Weblogic Platform to AS10gR3]
Information in this document applies to any platform.

Symptoms

While following section 15.1.3.3 Modify the Consumer's Security Realm to establish WSRP with SAML, at step 11, while activating changes in WLS Console, the following exception is thrown:

<Error> <Console> <TEST-PC> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1338402232547> <BEA-240003> <Console encountered the following error weblogic.management.provider.UpdateException: [Management:141191]The prepare phase of the configuration update failed with an exception:
    at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.prepare(RuntimeAccessDeploymentReceiverService.java:283)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.prepare(DeploymentReceiverCallbackDeliverer.java:40)
    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.callDeploymentReceivers(AwaitingContextUpdateCompletion.java:164)
    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.handleContextUpdateSuccess(AwaitingContextUpdateCompletion.java:66)
    at weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.contextUpdated(AwaitingContextUpdateCompletion.java:32)
    at weblogic.deploy.service.internal.targetserver.TargetDeploymentService.notifyContextUpdated(TargetDeploymentService.java:225)
    at weblogic.deploy.service.internal.DeploymentService$1.run(DeploymentService.java:189)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: weblogic.descriptor.BeanUpdateRejectedException: SAMLBeanUpdateListener SAMLCredentialMapperV2: prepareUpdate() failed with exception: provider SAMLCredentialMapperV2: SAML Key Manage failed to validate key (Assertions signing) configuration in the FederationServicesMBean, key alias: testalias
    at weblogic.security.providers.saml.SAMLBeanUpdateListener.prepareUpdate(SAMLBeanUpdateListener.java:84)
    at weblogic.descriptor.internal.DescriptorImpl$Update.prepare(DescriptorImpl.java:481)
    at weblogic.descriptor.internal.DescriptorImpl.prepareUpdateDiff(DescriptorImpl.java:195)
    at weblogic.descriptor.internal.DescriptorImpl.prepareUpdate(DescriptorImpl.java:174)
    at weblogic.management.provider.internal.RuntimeAccessDeploymentReceiverService.prepare(RuntimeAccessDeploymentReceiverService.java:269)

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.