【发布时间】:2019-07-24 14:27:58
【问题描述】:
我已将 MDS 访问从 HTTP 切换到 HTTPS。
网页界面正常
Excel 加载项在连接尝试期间生成错误
HTTP 请求被客户端身份验证方案“协商”禁止。 远程服务器返回错误:(403)Forbidden。 (系统)
如何使用 HTTPS 处理 excel?
【问题讨论】:
标签: excel iis https windows-server master-data-services
我已将 MDS 访问从 HTTP 切换到 HTTPS。
网页界面正常
Excel 加载项在连接尝试期间生成错误
HTTP 请求被客户端身份验证方案“协商”禁止。 远程服务器返回错误:(403)Forbidden。 (系统)
如何使用 HTTPS 处理 excel?
【问题讨论】:
标签: excel iis https windows-server master-data-services
切换到 SSL 后,Web 应用程序将继续工作,但 Excel 插件不会。要解决此问题,您必须编辑 Master Data Services Web 应用程序的 web.config。有关详细信息,请参阅下面的链接,我相信您将从第 10 步开始。
根据我的经验,使 SSL 工作所需的部分已经在 web.config 中,但已被注释掉,您只需取消注释并注释掉用于非 SSL 的部分。请注意,有两个不同的部分。
这是我在 web.config 中的绑定部分在配置 SSL 后的样子。
<bindings>
<wsHttpBinding>
<binding name="mdsWsHttpBinding" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
<readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" />
<!--Non-SSL implementations.-->
<!-- <security mode="Message"> -->
<!-- <message clientCredentialType="Windows" /> -->
<!-- </security> -->
<!--SSL implementations-->
<security mode="Transport">
<message clientCredentialType="Windows" />
</security>
</binding>
</wsHttpBinding>
<basicHttpBinding>
<binding name="mdsBasicHttpBinding" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
<readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647" />
<!-- Non-SSL implementations.-->
<!-- <security mode="TransportCredentialOnly"> -->
<!-- <transport clientCredentialType="Windows" /> -->
<!-- </security> -->
<!-- SSL implementations -->
<security mode="Transport">
<transport clientCredentialType="Windows" />
</security>
</binding>
</basicHttpBinding>
</bindings>
【讨论】: