令牌的发行者不是受信任的发行者 [英] The issuer of the token is not a trusted issuer

查看:100
本文介绍了令牌的发行者不是受信任的发行者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用sharepoint和wso2身份提供程序设置受信任的提供程序.配置完所有内容后,在日志中获取以下错误.我使用下面的命令

I am trying to setup trusted provider with sharepoint and wso2 identity provider. after configure everything and get error below on log. I use the command below

我检查了管理员下的管理信任,并查看证书在那里,检查了指纹以及所有内容.有什么事吗证书必须是特定类型吗?

I check manage trust under administrator and see the cert is there, check thumb print and everything. What could be wrong? Does the certificate have to be certain type?

System.IdentityModel.Tokens.SecurityTokenException:令牌的发行者不是受信任的发行者.在Microsoft.SharePoint.IdentityModel.SPLocalIssuerNameRegistry.GetIssuerName(安全令牌securityToken,字符串requestIssuerName)处. 在Microsoft.IdentityModel.Tokens.Saml11.Saml11SecurityTokenHandler.CreateClaims(SamlSecurityToken samlSecurityToken)中获得.在Microsoft.IdentityModel.Tokens.Saml11.Saml11SecurityTokenHandler.ValidateToken(SecurityToken token)中获得. 在Microsoft.IdentityModel.Tokens.SecurityTokenHandlerCollection.ValidateToken(SecurityToken token)处.在Microsoft.IdentityModel.Web.TokenReceiver.AuthenticateToken(SecurityToken令牌,布尔值sureBearerToken,字符串EndpointUri)中. 在Microsoft.IdentityModel.Web.WSFederationAuthenticationModule.SignInWithResponseMessage(HttpRequest request)处在Microsoft.IdentityModel.Web.WSFederationAuthenticationModule.OnAuthenticateRequest(对象发送者,EventArgs args)处. 在Microsoft.SharePoint.IdentityModel.SPFederationAuthenticationModule.OnAuthenticateRequest(对象发送者,EventArgs eventArgs)处.在System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()处 在System.Web.HttpApplication.ExecuteStep(IExecutionStep步骤,布尔值& completedSynchronously)

System.IdentityModel.Tokens.SecurityTokenException: The issuer of the token is not a trusted issuer.    at Microsoft.SharePoint.IdentityModel.SPLocalIssuerNameRegistry.GetIssuerName(SecurityToken securityToken, String requestedIssuerName)     at Microsoft.IdentityModel.Tokens.Saml11.Saml11SecurityTokenHandler.CreateClaims(SamlSecurityToken samlSecurityToken)     at Microsoft.IdentityModel.Tokens.Saml11.Saml11SecurityTokenHandler.ValidateToken(SecurityToken token)     at Microsoft.IdentityModel.Tokens.SecurityTokenHandlerCollection.ValidateToken(SecurityToken token)     at Microsoft.IdentityModel.Web.TokenReceiver.AuthenticateToken(SecurityToken token, Boolean ensureBearerToken, String endpointUri)     at Microsoft.IdentityModel.Web.WSFederationAuthenticationModule.SignInWithResponseMessage(HttpRequest request)     at Microsoft.IdentityModel.Web.WSFederationAuthenticationModule.OnAuthenticateRequest(Object sender, EventArgs args)     at Microsoft.SharePoint.IdentityModel.SPFederationAuthenticationModule.OnAuthenticateRequest(Object sender, EventArgs eventArgs)     at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

推荐答案

vpham80,

Hi vpham80,

以下是一些类似的问题,供您参考;

Here are some similar issue posts for your reference;

https://blogs.msdn.microsoft.com/jimmiet/2010/09/19/sharepoint-errorissuer-of-the-token-is-not-a-trusted-issuer/

https://sharepoint.stackexchange .com/questions/115633/代币发行人不是受信任的发行人

带有WSO2身份服务器的Microsoft Sharepoint Web应用程序的SSO:

SSO for Microsoft Sharepoint Web Applications with WSO2 Identity Server:

https: //wso2.com/library/tutorials/2015/05/tutorial-sso-for-microsoft-sharepoint-web-applications-with-wso2-identity-server/

最好的问候

天使


这篇关于令牌的发行者不是受信任的发行者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆