在内网中OWA第一次访问速度慢的问题

时间:2023-03-09 01:37:35
在内网中OWA第一次访问速度慢的问题
 

当网络环境为内网时,有时访问OWA站点一直卡在Office Web App 那里。 这是因为SharePoint有一个证书需要联网检索

此环境为SharePoint 2013

通过下面的三个步骤 可以解决此问题

 

步骤 1: (在"“开始”屏幕 "上左键单击(在"“开始”屏幕"中)

在内网中OWA第一次访问速度慢的问题

 

步骤 2: (在"SharePoint 2013 命令行管理程序 "上右键单击

在内网中OWA第一次访问速度慢的问题

步骤 3: (在"以管理员 身份运行"上左键单击

在内网中OWA第一次访问速度慢的问题

步骤 4:(在"管理员: SharePoint 2013 命令行管理程序"上输入:

$pfxpath = 'C:\SPRA.cer'
$rootCert = (Get-SPCertificateAuthority).RootCertificate
$rootCert.Export("Cert") | Set-Content $pfxpath -Encoding Byte

[System.Security.Cryptography.X509Certificates.StoreLocation]$StoreLocation = 'LocalMachine'
$StoreName = 'root'

Add-Type -AssemblyName System.Security
$certificate = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2
$certificate.Import($pfxpath)

$Store = New-Object system.security.cryptography.X509Certificates.x509Store($StoreName, $StoreLocation)
$Store.Open('ReadWrite')
$Store.Add($certificate)
$Store.Close()

在内网中OWA第一次访问速度慢的问题

步骤5:在命令行输入gpedit.msc,并回车

在内网中OWA第一次访问速度慢的问题

步骤6:打开“本地计算机 策略”à“计算机配置”à“Windows设置”à“安全设置”à“公钥策略”

在内网中OWA第一次访问速度慢的问题

步骤7:双击右侧“证书路径验证设置”

在内网中OWA第一次访问速度慢的问题

步骤8:点击“网络检索”标签

在内网中OWA第一次访问速度慢的问题

步骤9:勾选“定义这些策略设置(F)”,不勾选“自动更新Microsoft根证书程序中的证书(推荐)(M)”

在内网中OWA第一次访问速度慢的问题

步骤10:点击“确定”按钮,关闭“本地组策略编辑器”

步骤11:在命令行输入“gpupdate /force”,然后回车

在内网中OWA第一次访问速度慢的问题

步骤12:以管理员身份打开记事本

在内网中OWA第一次访问速度慢的问题

步骤13:打开C:\Windows\System32\drivers\etc\hosts文件

在内网中OWA第一次访问速度慢的问题

步骤14:在hosts文件中增加如下2条域名解析

127.0.0.1 crl.microsoft.com

127.0.0.1 ctldl.windowsupdate.com

在内网中OWA第一次访问速度慢的问题

相关文章