Sometimes Sitecore 9 SIF installation script fails as multiple certificates found with same DNS name.

It may happened when you try to install Sitecore 9 using SIF and somehow it got failed due to any reason. You may tried to reinstall it. And If you tried to reinstall it with different user account, your SIF script might get failed with below exception.

Cannot process argument transformation on parameter 'Signer'. Cannot convert the "System.Object[]" value of type "System.Object[]" to type

I found the solution here and to continue with installation, I need to remove all already installed certificates but I don’t know, how to remove those from my system?

up vote 4 down vote accepted

If you already know the thumbprint id (listed in the SIF console error), you can execute below PowerShell script to delete

Get-ChildItem Cert:\LocalMachine\Root\<<thumbprint>> | Remove-Item

If you want to list of installed certificate for the location, you can execute below script to get that list.

Set-Location Cert:\LocalMachine\Root
Get-ChildItem | Format-Table Subject, FriendlyName, Thumbprint -AutoSize
  • It resolved my issue. Thanks Arvind for this post. – Jitendra Jun 3 at 8:50
  • Hi @Jitendra, kindly vote up both question and answer. This would help other user to get confidence on it. – Arvind Gehlot Jun 4 at 6:10

From Habitat (feature/v9), they have powershell scripts to do this job

  1. Settings.ps1

enter image description here

  1. uninstall-xp0.ps1

enter image description here

  1. The underline of Remove-SitecoreCertificate function at Uninstall.psm1

enter image description here

Hope it's useful.

You can go to your "mmc" by writting "mmc" in your start and a popup will be shown click File>Add/remove snap-ins and then add certificates and from this folder you can remove the certifcate that were added by sitecore installation

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.