问题描述
我们有一个SharePoint 2013网站,在主页上我们添加了应用程序部分。它一直工作到今天,但是当我们进行证书更新活动时,我们遇到应用程序部件呈现问题,SharePoint网站正在运行但没有加载应用程序部分。错误
消息是 System.Security.Cryptography.CryptographicException:拒绝访问
我们尝试过喜欢的命令
$ path =" C:\Certs\certificate.cer"
$ certificate = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2($ path)
New-SPTrustedRootAuthority -Name" APPHighTrustCert2019" -Certificate $ certificate
$
$ realm = Get-SPAuthenticationRealm
$ issuerId =" 60e7ea00-ed55 -8838-a4f9-2811d8d890fb"
$ fullIssuerId = $ issuerId + '@' + $境界
新-SPTrustedSecurityTokenIssuer -Name" APPHighTrustCert" -Certificate $ certificate -RegisteredIssuerName $ fullIssuerId -IsTrustBroker
请帮助,谢谢。
最诚挚的问候,G Vijai Kumar |
We have a SharePoint 2013 site, on home page we have we added app part. It was working good until today, but when we do certificate renew acitivity, we have an issue with app part rendering, SharePoint site is working but not loading app parts. The error message is System.Security.Cryptography.CryptographicException: Access denied
We tried the commands likes
$certificate = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2($path)
New-SPTrustedRootAuthority -Name "APPHighTrustCert2019" -Certificate $certificate
$realm = Get-SPAuthenticationRealm
$issuerId = "60e7ea00-ed55-8838-a4f9-2811d8d890fb"
$fullIssuerId = $issuerId + '@' + $realm
New-SPTrustedSecurityTokenIssuer -Name "APPHighTrustCert" -Certificate $certificate -RegisteredIssuerName $fullIssuerId -IsTrustBroker
Please help, thanks.
Best Regards, G Vijai Kumar | My Sharepoint Blog
这篇关于SharePoint和高信任应用程序的问题 - System.Security.Cryptography.CryptographicException:访问被拒绝。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!