Having an issue installing on my dev machine. I keep getting this error when running installation script.


Install-SitecoreConfiguration : Cannot validate argument on parameter 'Signer'. The "$_.HasPrivateKey -eq $true"
validation script for the argument with value "[Subject]
CN=DO_NOT_TRUST_SIF121Root, O=DO_NOT_TRUST, OU=Created by https://www.sitecore.com
[Issuer]
CN=DO_NOT_TRUST_SIF121Root, O=DO_NOT_TRUST, OU=Created by https://www.sitecore.com
[Serial Number]
5339E20E3E2DA99E41D38EDFB2DA3F87
[Not Before]
12/21/2018 3:50:13 PM
[Not After]
12/19/2028 3:50:13 PM
[Thumbprint]
9B526C2A4F4AE0F57101B3EFD65160D2A15F7438
" did not return a result of True. Determine why the validation script failed, and then try the command again.
At line:19 char:1
+ Install-SitecoreConfiguration @certParams -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration

[TIME] 00:00:01
Invoke-NewSignedCertificateTask : Cannot validate argument on parameter 'Signer'. The "$_.HasPrivateKey -eq $true"
validation script for the argument with value "[Subject]
CN=DO_NOT_TRUST_SIF121Root, O=DO_NOT_TRUST, OU=Created by https://www.sitecore.com
[Issuer]
CN=DO_NOT_TRUST_SIF121Root, O=DO_NOT_TRUST, OU=Created by https://www.sitecore.com
[Serial Number]
5339E20E3E2DA99E41D38EDFB2DA3F87
[Not Before]
12/21/2018 3:50:13 PM
[Not After]
12/19/2028 3:50:13 PM
[Thumbprint]
9B526C2A4F4AE0F57101B3EFD65160D2A15F7438
" did not return a result of True. Determine why the validation script failed, and then try the command again.
At C:\Program
Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Install-SitecoreConfiguration.ps1:641 char:47
+ & $entry.Task.Command @paramSet | Out-Default
+ ~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Invoke-NewSignedCertificateTask], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Invoke-NewSignedCertificateTask

  • Hi Robert, I am also facing the same issue. Please let me know if you are able to resolve this.
  • Solution:
    1 - Go to mmc > Add/Remove Snap in > Certificates > Computer Account > Local Computer; ( Window + R type mmc)
    2 - Delete following certificate (if exist) under “Personal/Certificates” and “Trusted Root Certification Authorities/Certificates”;
    *.xconnect
    *.xconnect_client
    <Sitecore9 site name>
    DO_NOT_TRUST_SitecoreFundamentalsRoot
    DO_NOT_TRUST_SitecoreRootCert
    3 - Go to mmc > Add/Remove Snap in > Certificates > Computer Account > My user account;
    4 - Repeat step (2);
    5 - Go to C:\certificates, delete all *.crt files;
  • In reply to Joel Nguyen:

    Thanks, I did this but still getting this error:

    VERBOSE: Found Cert(s) with thumbprint: 9AAD5272BE583DA99EF5948E88E1A2AB7756353C
    8A846DCF0551572B5FDF613D4E1BA19F03F7AF1B
    WARNING: Found multiple certificates, selecting certificate with longest expiry.
    Install-SitecoreConfiguration : Cannot validate argument on parameter 'Signer'. The "$_.HasPrivateKey -eq $true"
    validation script for the argument with value "[Subject]
    CN=DO_NOT_TRUST_SIF121Root, O=DO_NOT_TRUST, OU=Created by https://www.sitecore.com
    [Issuer]
    CN=DO_NOT_TRUST_SIF121Root, O=DO_NOT_TRUST, OU=Created by https://www.sitecore.com
    [Serial Number]
    3F38D2F5570A7C9547836190F731E7BD
    [Not Before]
    12/25/2018 4:29:22 AM
    [Not After]
    12/23/2028 4:29:22 AM
    [Thumbprint]
    9AAD5272BE583DA99EF5948E88E1A2AB7756353C
    " did not return a result of True. Determine why the validation script failed, and then try the command again.
    At line:19 char:1
    + Install-SitecoreConfiguration @certParams -Verbose
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration

    [TIME] 00:00:05
    Invoke-NewSignedCertificateTask : Cannot validate argument on parameter 'Signer'. The "$_.HasPrivateKey -eq $true"
    validation script for the argument with value "[Subject]
    CN=DO_NOT_TRUST_SIF121Root, O=DO_NOT_TRUST, OU=Created by https://www.sitecore.com
    [Issuer]
    CN=DO_NOT_TRUST_SIF121Root, O=DO_NOT_TRUST, OU=Created by https://www.sitecore.com
    [Serial Number]
    3F38D2F5570A7C9547836190F731E7BD
    [Not Before]
    12/25/2018 4:29:22 AM
    [Not After]
    12/23/2028 4:29:22 AM
    [Thumbprint]
    9AAD5272BE583DA99EF5948E88E1A2AB7756353C
    " did not return a result of True. Determine why the validation script failed, and then try the command again.
    At C:\Program
    Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Install-SitecoreConfiguration.ps1:641 char:47
    + & $entry.Task.Command @paramSet | Out-Default
    + ~~~~~~~~~
    + CategoryInfo : InvalidData: (:) [Invoke-NewSignedCertificateTask], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Invoke-NewSignedCertificateTask
  • In reply to Mohit Dharmadhikari:

    Thanks so much, this worked however I now have ran into this error and not sure what parameter "name" its referring to:

    - CreateCores [1] : ManageSolrCore ------------------------------------------]
    [CreateCores [1]]:[Requesting] https://localhost:8983/solr
    [CreateCores [1]]:[SolrCore] Performing Create on https://localhost:8983/solr

    Install-SitecoreConfiguration : Missing required parameter: name
    At line:28 char:1
    + Install-SitecoreConfiguration @solrParams
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration

    [TIME] 00:00:13
    Invoke-ManageSolrCoreTask : Missing required parameter: name
    At C:\Program
    Files\WindowsPowerShell\Modules\SitecoreInstallFramework\2.0.0\Public\Install-SitecoreConfiguration.ps1:641 char:25
    + & $entry.Task.Command @paramSet | Out-Default
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-ManageSolrCoreTask
  • In reply to Robert Holguin:

    Hi Robert-san,
    I've bumped into same issue today.
    According to some articles, SC9.0.X requires SIF 1.2.1. It seems that your SIF is 2.0.0.
    Please try to uninstall SIF 2.0.0 and reinstall SIF 1.2.1 and remove DO_NOT_TRUST_SitecoreRootCert by mmc and then re-try installation.
    Or, you can try to modify xconnect-createcert.json and xconnect-solr.json and sitecore-solr.json if you still want to use SIF 2.0.0.

    Please refer:
    sitecore.stackexchange.com/.../sif-2-0-0-on-sc-9-0-2-the-operation-is-on-user-root-store-and-ui-is-not-allow

    Good luck.
  • In reply to Manabu Yamaguchi:

    Thanks. when I try to uninstall I am getting this error:

    WARNING: The version '2.0.0' of module 'SitecoreInstallFramework' is currently in use. Retry the operation after
    closing the applications.
    PackageManagement\Uninstall-Package : Module 'SitecoreInstallFramework' is in currently in use or you don't have the
    required permissions.
    At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:2194 char:21
    + ... $null = PackageManagement\Uninstall-Package @PSBoundParameters
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Packag
    e], Exception
    + FullyQualifiedErrorId : ModuleIsInUse,Uninstall-Package,Microsoft.PowerShell.PackageManagement.Cmdlets.Uninstall
    Package
  • In reply to Robert Holguin:

    Edit sitecore-solr.json and xconnect-solr.json. change the casing of argument Name to "name" in "CreateCores" task. Also make sure you are on Solr-6.6.2. There are few issues with Solr-6.6.1. 

    "CreateCores":{
                // Tells Solr to create the new cores.
                "Type": "ManageSolrCore",
                "Params": [
                    { "Action": "Create", "Address": "[parameter('SolrUrl')]", "Arguments": { "name": "[variable('Xdb.Name')]" } },
                    { "Action": "Create", "Address": "[parameter('SolrUrl')]", "Arguments": { "name": "[variable('Xdb.Rebuild.Name')]" } }
                ]
            }

    I'd appreciate if you can mark my comment as an answer for certificate issue.