mark dom
asked on
installing exchange 2016 in windows server 2012 "The following error was generated when "$error.Clear();"
how can i solve this error
Error:
The following error was generated when "$error.Clear();
Install-ExchangeCertificat e -WebSiteName "Exchange Back End" -services "IIS, POP, IMAP" -DomainController $RoleDomainController -InstallInTrustedRootCAIfS elfSigned $true
if ($RoleIsDatacenter -ne $true -And $RoleIsPartnerHosted -ne $true)
{
Install-AuthCertificate -DomainController $RoleDomainController
}
" was run: "Microsoft.Exchange.Manage ment.Syste mConfigura tionTasks. AddAccessR uleCryptog raphicExce ption: Could not grant Network Service access to the certificate with thumbprint B1799FCA47515B8E2118D223C0 CEB07543D9 5216 because a cryptographic exception was thrown. ---> System.Security.Cryptograp hy.Cryptog raphicExce ption: Access is denied.
at Microsoft.Exchange.Securit y.Cryptogr aphy.X509C ertificate s.TlsCerti ficateInfo .CAPIAddAc cessRule(X 509Certifi cate2 certificate, AccessRule rule)
at Microsoft.Exchange.Securit y.Cryptogr aphy.X509C ertificate s.TlsCerti ficateInfo .AddAccess Rule(X509C ertificate 2 certificate, AccessRule rule)
at Microsoft.Exchange.Managem ent.System Configurat ionTasks.M anageExcha ngeCertifi cate.Enabl eForServic es(X509Cer tificate2 cert, AllowedServices services, String websiteName, Boolean requireSsl, ITopologyConfigurationSess ion dataSession, Server server, List`1 warningList, Boolean allowConfirmation, Boolean forceNetworkService)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Configu ration.Tas ks.Task.Wr iteError(E xception exception, ErrorCategory category, Object target, Boolean reThrow, String helpUrl)
at Microsoft.Exchange.Configu ration.Tas ks.Task.Wr iteError(E xception exception, ErrorCategory category, Object target)
at Microsoft.Exchange.Managem ent.System Configurat ionTasks.I nstallExch angeCertif icate.Enab leForServi ces(X509Ce rtificate2 cert, AllowedServices services)
at Microsoft.Exchange.Managem ent.System Configurat ionTasks.I nstallExch angeCertif icate.Inte rnalProces sRecord()
at Microsoft.Exchange.Configu ration.Tas ks.Task.<P rocessReco rd>b__b()
at Microsoft.Exchange.Configu ration.Tas ks.Task.In vokeRetrya bleFunc(St ring funcName, Action func, Boolean terminatePipelineIfFailed) ".
Error:
The following error was generated when "$error.Clear();
Install-ExchangeCertificat
if ($RoleIsDatacenter -ne $true -And $RoleIsPartnerHosted -ne $true)
{
Install-AuthCertificate -DomainController $RoleDomainController
}
" was run: "Microsoft.Exchange.Manage
at Microsoft.Exchange.Securit
at Microsoft.Exchange.Securit
at Microsoft.Exchange.Managem
--- End of inner exception stack trace ---
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Managem
at Microsoft.Exchange.Configu
at Microsoft.Exchange.Configu
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER