• Not Answered

Sitecore9 installation fails with error message: The PFX file you are trying to import requires either a different password or membership in an Active Directory principal to which it is protected.

Hi,

While I'm installing "Sitecore 9.2.0 rev. 002893". I've reached step 29 where an error occurs:

[------------------------------------------------------------------------------------------ ImportRootCert : ImportPfxCertificate ------------------------------------------------------------------------------------]
Install-SitecoreConfiguration : The PFX file you are trying to import requires either a different password or membership in an Active Directory principal to which it is protected.
At ******************\Install-XP1-Distributed.ps1:209 char:1
+ Install-SitecoreConfiguration @DistributedDeploymentParams -Verbose * ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration
 
[TIME] 00:05:32

In "C:\certificates" there are 3 pfk files created:

SitecoreRootCert.pfx
***SERVER_DNS***.pfx
***DEFINED_PREFIX***.xconnect.pfx

Each *.pfk file can be imported manually with passwords which are visible in log file for each certificate.

I'm using windows admin user. I'm running "Install-XP1-Distributed.ps1" script from official installer. I populated required variables.

Is there any configuration option I need to set/remove to resolve this?

If more info is needed I will provide it, just let me know.

Thanks in advance,
Radovan