SharePoint和高信任应用程序的问题 - System.Security.Cryptography.CryptographicException:访问被拒绝。 [英] Problem with SharePoint and high trust app - System.Security.Cryptography.CryptographicException: Access denied.

查看:206
本文介绍了SharePoint和高信任应用程序的问题 - System.Security.Cryptography.CryptographicException:访问被拒绝。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个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 |
My Sharepoint Blog

解决方案

在这里你


https://social.technet.microsoft.com/Forums/office/en-US/a7c83219-cdac-40a0-a909-0b034adf42a9/ systemsecuritycryptographycryptographicexception存取拒绝?论坛= sharepointgeneral


https://stackoverflow.com/questions/40632806/iis-10-system-security-cryptography-cryptographicexception-access-denied


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

$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 + '@' + $realm
New-SPTrustedSecurityTokenIssuer -Name "APPHighTrustCert" -Certificate $certificate -RegisteredIssuerName $fullIssuerId -IsTrustBroker

Please help, thanks.


Best Regards, G Vijai Kumar | My Sharepoint Blog

解决方案

Here you go

https://social.technet.microsoft.com/Forums/office/en-US/a7c83219-cdac-40a0-a909-0b034adf42a9/systemsecuritycryptographycryptographicexception-access-denied?forum=sharepointgeneral

https://stackoverflow.com/questions/40632806/iis-10-system-security-cryptography-cryptographicexception-access-denied


这篇关于SharePoint和高信任应用程序的问题 - System.Security.Cryptography.CryptographicException:访问被拒绝。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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