My Oracle Support Banner

Could Not Get The Decryption Secret Key (Doc ID 1539425.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Identity Federation - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

OIF acting as Service Provider. SSO is failing with 500 error and following is shown in diagnostic log:

 


[2013-03-20T19:02:41.851-04:00] [wls_oif1] [TRACE] [] [oracle.security.fed.sec.crypto.dsig.DomXmlVerifier] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 004q6Cs78_mDsXi_d50Vu_0007lQ0011pg,0:1] [SRC_CLASS: oracle.security.fed.sec.crypto.dsig.DomXmlVerifier] [APP: OIF#11.1.1.2.0] [SRC_METHOD: verify] [URI: /fed/sp/authnResponse20] Validating reference digest with URI...
[2013-03-20T19:02:41.852-04:00] [wls_oif1] [TRACE] [] [oracle.security.fed.sec.crypto.dsig.DomXmlVerifier] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 004q6Cs78_mDsXi_d50Vu_0007lQ0011pg,0:1] [SRC_CLASS: oracle.security.fed.sec.crypto.dsig.DomXmlVerifier] [APP: OIF#11.1.1.2.0] [SRC_METHOD: verify] [URI: /fed/sp/authnResponse20] Verifying signature...
[2013-03-20T19:02:41.857-04:00] [wls_oif1] [TRACE] [] [oracle.security.fed.sec.crypto.enc.DomXmlDecrypter] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 004q6Cs78_mDsXi_d50Vu_0007lQ0011pg,0:1] [SRC_CLASS: oracle.security.fed.sec.crypto.enc.DomXmlDecrypter] [APP: OIF#11.1.1.2.0] [SRC_METHOD: decryptElement] [URI: /fed/sp/authnResponse20] oracle.security.xmlsec.enc.XECipherException: Data must start with zero
[2013-03-20T19:02:41.858-04:00] [wls_oif1] [TRACE] [] [oracle.security.fed.sec.crypto.dsig.DomXmlVerifier] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 004q6Cs78_mDsXi_d50Vu_0007lQ0011pg,0:1] [SRC_CLASS: oracle.security.fed.sec.crypto.dsig.DomXmlVerifier] [APP: OIF#11.1.1.2.0] [SRC_METHOD: verify] [URI: /fed/sp/authnResponse20] Retrieving verification parameters.
[2013-03-20T19:02:41.858-04:00] [wls_oif1] [TRACE] [] [oracle.security.fed.sec.crypto.dsig.DomXmlVerifier] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 004q6Cs78_mDsXi_d50Vu_0007lQ0011pg,0:1] [SRC_CLASS: oracle.security.fed.sec.crypto.dsig.DomXmlVerifier] [APP: OIF#11.1.1.2.0] [SRC_METHOD: verify] [URI: /fed/sp/authnResponse20] Verifying that the parent is the node referenced in the signature
[2013-03-20T19:02:41.858-04:00] [wls_oif1] [TRACE] [] [oracle.security.fed.sec.crypto.dsig.DomXmlVerifier] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 004q6Cs78_mDsXi_d50Vu_0007lQ0011pg,0:1] [SRC_CLASS: oracle.security.fed.sec.crypto.dsig.DomXmlVerifier] [APP: OIF#11.1.1.2.0] [SRC_METHOD: verify] [URI: /fed/sp/authnResponse20] Validating reference digest with URI...
[2013-03-20T19:02:41.858-04:00] [wls_oif1] [TRACE] [] [oracle.security.fed.sec.crypto.dsig.DomXmlVerifier] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 004q6Cs78_mDsXi_d50Vu_0007lQ0011pg,0:1] [SRC_CLASS: oracle.security.fed.sec.crypto.dsig.DomXmlVerifier] [APP: OIF#11.1.1.2.0] [SRC_METHOD: verify] [URI: /fed/sp/authnResponse20] Verifying signature...
[2013-03-20T19:02:41.859-04:00] [wls_oif1] [ERROR] [FED-18078] [oracle.security.fed.sec.crypto.enc.DomXmlDecrypter] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 004q6Cs78_mDsXi_d50Vu_0007lQ0011pg,0:1] [APP: OIF#11.1.1.2.0] [URI: /fed/sp/authnResponse20] XML decryption error: could not get the decryption secret key
[2013-03-20T19:02:41.867-04:00] [wls_oif1] [TRACE] [] [oracle.security.fed.plugins.audit.AuditListener] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 004q6Cs78_mDsXi_d50Vu_0007lQ0011pg,0:1] [SRC_CLASS: oracle.security.fed.plugins.audit.AuditListener] [APP: OIF#11.1.1.2.0] [SRC_METHOD: process] [URI: /fed/sp/authnResponse20] action=0
[2013-03-20T19:02:41.867-04:00] [wls_oif1] [ERROR] [FED-18076] [oracle.security.fed.http.translator.saml.SAMLProtocolMessageTranslator] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 004q6Cs78_mDsXi_d50Vu_0007lQ0011pg,0:1] [APP: OIF#11.1.1.2.0] [URI: /fed/sp/authnResponse20] Security services exception: {0}[[
oracle.security.fed.sec.util.CryptoException: Could not get the decrypting symmetric key
at oracle.security.fed.sec.crypto.enc.DomXmlDecrypter.decryptElement(DomXmlDecrypter.java:98)
at oracle.security.fed.sec.crypto.engine.impl.SAML20XmlCryptoEngine.processIncoming(SAML20XmlCryptoEngine.java:415)
at oracle.security.fed.sec.SecurityServicesImpl.processIncoming(SecurityServicesImpl.java:482)
at oracle.security.fed.sec.SecurityServicesImpl.processIncoming(SecurityServicesImpl.java:133)
at oracle.security.fed.http.translator.saml.SAMLProtocolMessageTranslator.translateMessage(SAMLProtocolMessageTranslator.java:127)
at oracle.security.fed.http.handlers.profiles.sp.AuthnResponseV20RequestHandler.generateEvent(AuthnResponseV20RequestHandler.java:76)
at oracle.security.fed.controller.web.action.RequestHandlerSupport.perform(RequestHandlerSupport.java:14)
at oracle.security.fed.controller.ApplicationController.processServletRequest(ApplicationController.java:321)
at oracle.security.fed.controller.web.servlet.FederationServlet.doGet(FederationServlet.java:144)
at oracle.security.fed.controller.web.servlet.FederationServlet.doPost(FederationServlet.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

]]

 

 

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
Cause
Solution


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.