【发布时间】:2020-03-27 18:56:26
【问题描述】:
在使用 WSO2 身份服务器实施 SAML2.0 设置时出现“内部错误”。
我正在运行示例应用程序,并且身份服务器和示例应用程序正在运行。
pickup-dispatch 应用程序在链接http://127.0.0.1:8080/saml2-web-app-pickup-dispatch.com/ 上运行良好,单击登录后,它会将我重定向到身份服务器登录页面(预期)。
我输入了我的凭据,但在按下登录时,它在告诉我重定向到应用程序后返回“内部错误 - 服务器连接终止”,如下面的屏幕截图所示。
错误跟踪中的 sn-p 是 HTTP ERROR 500
Problem accessing /saml2-web-app-pickup-dispatch.com/home.jsp. Reason: Server Error
Caused by: javax.servlet.ServletException: org.wso2.carbon.identity.sso.agent.exception.SSOAgentException: Signature validation failed for SAML2 Element
完整的错误堆栈跟踪 - https://gist.github.com/KalemaEdgar/ee9804df5f2786e30af8ad2bd3ccf0fc
【问题讨论】:
-
您是否在控制台中得到任何错误跟踪?也请分享一下
-
这是我在日志中看到的。如何获取或生成签名
HTTP ERROR 500 Problem accessing /saml2-web-app-pickup-dispatch.com/home.jsp. Reason: Server Error Caused by: javax.servlet.ServletException: org.wso2.carbon.identity.sso.agent.exception.SSOAgentException: Signature validation failed for SAML2 Element -
完整的错误跟踪在这里 -
https://gist.github.com/KalemaEdgar/ee9804df5f2786e30af8ad2bd3ccf0fc