SIF 2.0でインストールしたSitecore XP 9.1がある場合、SIF 1.2.xを使用するとXP 9.0 Update-2のインストールに失敗し、次のエラーが発生する場合があります:
TerminatingError(New-SignedCertificate): "Cannot process argument transformation on parameter 'Signer'. Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Security.Cryptography.X509Certificates.X509Certificate2"." Install-SitecoreConfiguration : Cannot process argument transformation on parameter 'Signer'. Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Security.Cryptography.X509Certificates.X509Certificate2".
証明書を削除すると、インストールは正常に行えますが、Sitecore XP 9.1インスタンス自体は証明書エラーで破損します。
以下の手順を実施して事象を解決することができます。
# Install client certificate for xconnect $certParams = @{ Path = "$SCLocation\xconnect-createcert.json" CertificateName = "$prefix.xconnect_client" RootCertFileName = "SIF121Root" } Install-SitecoreConfiguration @certParams -Verbose
Import-Module -Name SitecoreInstallFramework -RequiredVersion 1.2.х