问题描述
OS:WindowsServer2012R2Exchange:2013U9安装时报错-----------------错误:运行"$error.Clear();Install-ExchangeCertificate-WebSiteName"ExchangeBackEnd"-services"IIS,POP,IMAP"-DomainController$RoleDomainController-InstallInTrustedRootCAIfSelfSigned$trueif($RoleIsDatacenter-ne$true-And$RoleIsPartnerHosted-ne$true){Install-AuthCertificate-DomainController$RoleDomainController}"时生成以下错误:"Microsoft.Exchange.Management.SystemConfigurationTasks.AddAccessRuleCryptographicException:由于引发了加密异常,无法授予网络服务访问包含指纹0A5873E0413F6AA2A8C5BAC88E370BCF7B8DED7C的证书的权限。--->System.Security.Cryptography.CryptographicException:拒绝访问。在Microsoft.Exchange.Security.Cryptography.X509Certificates.TlsCertificateInfo.CAPIAddAccessRule(X509Certificate2certificate,AccessRulerule)在Microsoft.Exchange.Security.Cryptography.X509Certificates.TlsCertificateInfo.AddAccessRule(X509Certificate2certificate,AccessRulerule)在Microsoft.Exchange.Management.SystemConfigurationTasks.ManageExchangeCertificate.EnableForServices(X509Certificate2cert,AllowedServicesservices,StringwebsiteName,BooleanrequireSsl,ITopologyConfigurationSessiondataSession,Serverserver,List`1warningList,BooleanallowConfirmation,BooleanforceNetworkService)---内部异常堆栈跟踪的结尾---在Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exceptionexception,ErrorCategorycategory,Objecttarget,BooleanreThrow,StringhelpUrl)在Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exceptionexception,ErrorCategorycategory,Objecttarget)在Microsoft.Exchange.Management.SystemConfigurationTasks.InstallExchangeCertificate.EnableForServices(X509Certificate2cert,AllowedServicesservices)在Microsoft.Exchange.Management.SystemConfigurationTasks.InstallExchangeCertificate.InternalProcessRecord()在Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()在Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(StringfuncName,Actionfunc,BooleanterminatePipelineIfFailed)"。
解决方案
解决方案二:
验证Certificate失败吧