0

I am new to Sitecore Commerce, I am trying to installing Sitecore Commerce 9.0.2. Getting the below certificate error. I am attaching the error screenshot, and also the log. included install script.

This is the First time I am installing Sitecore Commerce on that system, my Sitecore CMS is working.

Error:

enter image description here

Log:

Transcript started, output file is C:\Sitecore\Deploy\SIF.Sitecore.Commerce.1.2.14\SXAStorefront.CreateBinding.200115 (2).log ************************************ Sitecore Install Framework Version - 1.2.1 ************************************

WorkingDirectory : C:\Sitecore\Deploy\SIF.Sitecore.Commerce.1.2.14 LogPath : C:\Sitecore\Deploy\SIF.Sitecore.Commerce.1.2.14\SXAStorefront.CreateBinding.200115 (2).log WhatIf : False Verbose : SilentlyContinue Configuration : C:\Sitecore\Deploy\SIF.Sitecore.Commerce.1.2.14\Configuration\Commerce\SXAStorefront\SXAStorefront.CreateBinding.json Debug : SilentlyContinue WarningAction : Continue ErrorAction : Stop InformationAction : Continue

[--------------------------------------------------------------------------------------------- CreatePaths : EnsurePath ----------------------------------------------------------------------------------------------] [CreatePaths]:[Create] c:\certificates

[---------------------------------------------------------------------------------------- CreateSignedCert : NewSignedCertificate ------------------------------------------------------------------------------------] ********************** Command start time: 20200115160003 ********************** PS>TerminatingError(New-SelfSignedCertificate): "CertEnroll::CSignerCertificate::Initialize: Cannot find object or property. 0x80092004 (-2146885628 CRYPT_E_NOT_FOUND)"

TerminatingError(New-SelfSignedCertificate): "CertEnroll::CSignerCertificate::Initialize: Cannot find object or property. 0x80092004 (-2146885628 CRYPT_E_NOT_FOUND)" Install-SitecoreConfiguration : CertEnroll::CSignerCertificate::Initialize: Cannot find object or property. 0x80092004 (-2146885628 CRYPT_E_NOT_FOUND) At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Install-SitecoreConfiguration.ps1:253 char:21 + & $entry.Task.Command @paramSet | Out-Default + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration Install-SitecoreConfiguration : CertEnroll::CSignerCertificate::Initialize: Cannot find object or property. 0x80092004 (-2146885628 CRYPT_E_NOT_FOUND) At C:\Program Files\WindowsPowerShell\Modules\SitecoreInstallFramework\1.2.1\Public\Install-SitecoreConfiguration.ps1:253 char:21 + & $entry.Task.Command @paramSet | Out-Default + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration

[TIME] 00:00:00 ********************** Windows PowerShell transcript end End time: 20200115160003


Script:

#Requires -Version 3
param(
    [string]$SiteName = "local.storefront", 
    [string]$SiteHostHeaderName = "local.storefront.com",   
    [string]$SqlDbPrefix = "local",
    [string]$CommerceSearchProvider = "SOLR"
)

$global:DEPLOYMENT_DIRECTORY=Split-Path $MyInvocation.MyCommand.Path
$modulesPath=( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath "Modules" )
if ($env:PSModulePath -notlike "*$modulesPath*")
{
    $p = $env:PSModulePath + ";" + $modulesPath
    [Environment]::SetEnvironmentVariable("PSModulePath",$p)
}


$params = @{
        Path = Resolve-Path '.\Configuration\Commerce\Master_SingleServer.json' 
        SiteName = $SiteName
        SiteHostHeaderName = $SiteHostHeaderName 
        InstallDir = "$($Env:SYSTEMDRIVE)\inetpub\wwwroot\$SiteName"
        XConnectInstallDir = "$($Env:SYSTEMDRIVE)\inetpub\wwwroot\local.xconnect"
        CertificateName = $SiteName
        CommerceServicesDbServer = $($Env:COMPUTERNAME)    #OR "SQLServerName\SQLInstanceName"
        CommerceServicesDbName = "SitecoreCommerce9_SharedEnvironments"
        CommerceServicesGlobalDbName = "SitecoreCommerce9_Global"       
        SitecoreDbServer = $($Env:COMPUTERNAME)            #OR "SQLServerName\SQLInstanceName"
        SitecoreCoreDbName = "$($SqlDbPrefix)_Core"
        SitecoreUsername = "sitecore\admin"
        SitecoreUserPassword = "b"
        CommerceSearchProvider = $CommerceSearchProvider
        SolrUrl = "https://localhost:8983/solr"
        SolrRoot = "C:\\Solr\\solr-6.6.2"
        SolrService = "Solr662"
        SolrSchemas = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath "SolrSchemas" )
        SearchIndexPrefix = "dev"
        AzureSearchServiceName = ""
        AzureSearchAdminKey = ""
        AzureSearchQueryKey = ""
        CommerceEngineDacPac = Resolve-Path -Path "C:\Sitecore\Deploy\assets\Sitecore.Commerce.Engine.DB.dacpac"       
        CommerceOpsServicesPort = "5015"
        CommerceShopsServicesPort = "5005"
        CommerceAuthoringServicesPort = "5000"
        CommerceMinionsServicesPort = "5010"        
        SitecoreCommerceEngineZipPath = Resolve-Path -Path "C:\Sitecore\Deploy\Sitecore.Commerce.Engine.2.2.126.zip"        
        SitecoreBizFxServicesContentPath = Resolve-Path -Path "C:\Sitecore\Deploy\Sitecore.BizFX.1.2.19"        
        SitecoreIdentityServerZipPath = Resolve-Path -Path "C:\Sitecore\Deploy\Sitecore.IdentityServer.1.2.3.zip"
        CommerceEngineCertificatePath = Resolve-Path -Path "C:\Sitecore\Deploy\assets\local.engineconnect.cer"      
        SiteUtilitiesSrc = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath "SiteUtilityPages" )  
        HabitatImagesModuleFullPath = Resolve-Path -Path "C:\Sitecore\Deploy\Sitecore.Commerce.Habitat.Images-1.0.0.zip"    
        AdvImagesModuleFullPath = Resolve-Path -Path "C:\Sitecore\Deploy\Adventure Works Images.zip"    
        CommerceConnectModuleFullPath = Resolve-Path -Path "C:\Sitecore\Deploy\Sitecore Commerce Connect Core 11.2.83.zip"  
        CommercexProfilesModuleFullPath = Resolve-Path -Path "C:\Sitecore\Deploy\Sitecore Commerce ExperienceProfile Core 11.2.83.zip"  
        CommercexAnalyticsModuleFullPath = Resolve-Path -Path "C:\Sitecore\Deploy\Sitecore Commerce ExperienceAnalytics Core 11.2.83.zip"   
        CommerceMAModuleFullPath = Resolve-Path -Path "C:\Sitecore\Deploy\Sitecore Commerce Marketing Automation Core 11.2.83.zip"  
        CommerceMAForAutomationEngineModuleFullPath = Resolve-Path -Path "C:\Sitecore\Deploy\Sitecore Commerce Marketing Automation for AutomationEngine 11.2.83.zip"   
        CEConnectPackageFullPath = Resolve-Path -Path "C:\Sitecore\Deploy\Sitecore.Commerce.Engine.Connect.2.2.86.update"
        PowerShellExtensionsModuleFullPath = Resolve-Path -Path "C:\Sitecore\Deploy\assets\Sitecore PowerShell Extensions-4.7.2 for Sitecore 8.zip"
        SXAModuleFullPath = Resolve-Path -Path "C:\Sitecore\Deploy\assets\Sitecore Experience Accelerator 1.7.1 rev. 180604 for 9.0.zip"
        SXACommerceModuleFullPath = Resolve-Path -Path "C:\Sitecore\Deploy\Sitecore Commerce Experience Accelerator 1.2.205.zip"
        SXAStorefrontModuleFullPath = Resolve-Path -Path "C:\Sitecore\Deploy\Sitecore Commerce Experience Accelerator Storefront 1.2.205.zip"
        SXAStorefrontThemeModuleFullPath = Resolve-Path -Path "C:\Sitecore\Deploy\Sitecore Commerce Experience Accelerator Storefront Themes 1.2.205.zip"
        SXAStorefrontCatalogModuleFullPath = Resolve-Path -Path "C:\Sitecore\Deploy\Sitecore Commerce Experience Accelerator Habitat Catalog 1.2.205.zip"
        MergeToolFullPath = Resolve-Path -Path "C:\Sitecore\Deploy\assets\Microsoft.Web.XmlTransform.dll"
        UserAccount = @{
            Domain = $Env:COMPUTERNAME
            UserName = 'CSFndRuntimeUser'
            Password = 'AB34opER'
        }
        BraintreeAccount = @{
            MerchantId = ''
            PublicKey = ''
            PrivateKey = ''
        }
        SitecoreIdentityServerName = "SitecoreIdentityServer"       
    }



    Install-SitecoreConfiguration @params

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.