SQL Server 2014 Reporting Services无法绑定到SSL

时间:2020-03-21 11:42:17  来源:igfitidea点击:

通过SSL配置SSRS 2014.

软件

使用的软件:

  • Windows Server 2012 R2标准
  • IIS 8.5
  • MS SQL Server 2014 Express Edition报告服务

问题

SQL 2014 Reporting Services无法绑定到SSL端口,并出现以下错误:

Microsoft.ReportingServices.WmiProvider.WMIProviderException: An unknown error has occurred in the WMI Provider. Error Code 80070520
---> System.Runtime.InteropServices.COMException (0x80070520): A specified logon session does not exist. It Jan already have been terminated. (Exception from HRESULT: 0x80070520)
 --- End of inner exception stack trace --
 at Microsoft.ReportingServices.WmiProvider.RSWmiAdmin.ThrowOnError(ManagementBaseObject mo)
 at Microsoft.ReportingServices.WmiProvider.RSWmiAdmin.CreateSSLCertificateBinding(String application, String certificateHash, String ipAddress, Int32 port)
 at ReportServicesConfigUI.WMIProvider.RSReportServerAdmin.CreateSSLCertificateBinding(UrlApplication app, String certificateHash, String ipAddress, Int32 port)

对我有用的解决方案

将SSL证书导入IIS 8.5时,请确保选中“允许导出此证书”框