【问题标题】:SharePoint2010 farm SharePoint Security Token Service validation errorSharePoint2010 场 SharePoint 安全令牌服务验证错误
【发布时间】:2015-01-12 09:15:49
【问题描述】:

在我们的 SharePoint 2010 场中,我们更新了 SSL 证书,更新后我们开始在事件日志中出现以下错误

Event ID 8311
An operation failed because the following certificate has validation errors:\n\nSubject Name:
  CN=SharePoint Security Token Service, OU=SharePoint, O=Microsoft, C=US\nIssuer Name: CN=SharePoint Root Authority, OU=SharePoint, O=Microsoft, C=US\nThumbprint: \n\nErrors:\n\n

RevocationStatusUnknown:吊销功能无法检查证书的吊销。

网站通常使用正确的更新证书。甚至 SharePoint 和自定义安全应用程序之间的声明身份验证也可以正常工作。但某些 SharePoint 服务会出现严重问题,例如搜索无法正常工作并出现以下错误:

The requested service, 'http://server:32843/f6a9024b8bbe48ebae7e9ffc8f5809dd/SearchService.svc' could not be activated. See the server's diagnostic trace logs for more information.
Stack trace: 
Server stack trace: 
at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory factory, WebException responseException, ChannelBinding channelBinding)

当我在 powershell 中运行 Get-SPSite 命令时,出现以下错误

Get-SPSite : ID4257: X.509 certificate 'CN=SharePoint Security Token Service, OU=SharePoint, O=Microsoft, C=US' validation failed by the token handler.

我无法停用/激活服务器上的任何功能,它会引发证书错误。

我已经尝试过:

1. Recreating the local trust relationship using following commands
    $rootCert = (Get-SPCertificateAuthority).RootCertificate
    New-SPTrustedRootAuthority -Name "localNew" -Certificate $rootCert

2. Adding "SharePoint Root Authority" certificate to certificate store on each server in the farm, in mmc SharePoint certificates "SharePoint Security Token Service"  certificate is displayed under "SharePoint Root Authority" certificate.

【问题讨论】:

标签: sharepoint-2010 sts-securitytokenservice


【解决方案1】:

我有类似的问题,我们的症状是

<EventID>8311</EventID>
...
<Data Name="string3">NotTimeValid: Unknown error.</Data>

根本原因是网站正在显示 SSRS(在同一主机上),而 SSRS(与 IIS 具有不同的绑定引擎)证书已过期,但被 SharePoint 记录。

【讨论】:

    猜你喜欢
    • 2011-08-22
    • 1970-01-01
    • 2019-08-31
    • 2013-02-12
    • 2012-07-06
    • 1970-01-01
    • 1970-01-01
    • 2014-04-13
    • 2012-03-13
    相关资源
    最近更新 更多