Sitecore 10.4 Installation Authenticode Issuer
While installing Sitecore 10.4, I encountered an error about the Authenticode issuer and SitecoreInstallFramework version.
Authenticode issuer 'CN="Sitecore USA, Inc.", OU=IT, O="Sitecore USA, Inc.", L=San Francisco, S=California, C=US' | |
of the new module 'SitecoreInstallFramework' with version '2.4.0' from root certificate authority | |
'CN=DigiCert Trusted Root G4, OU=www.digicert.com, O=DigiCert Inc, C=US' is not matching with the authenticode issuer | |
'CN="Sitecore USA, Inc.", O="Sitecore USA, Inc.", L=Sausalito, S=ca, C=US' of the previously-installed module | |
'SitecoreInstallFramework' with version '2.3.0' from root certificate authority | |
'CN=DigiCert Assured ID Root CA, OU=www.digicert.com, O=DigiCert Inc, C=US'. | |
If you still want to install or update, use -SkipPublisherCheck parameter. |
The error message is about Sitecore Install Framework conflicts. To investigate more about it and to check the version I executed the following command in PowerShell and I have SIF version 2.3:
Get-Module SitecoreInstallFramework –ListAvailable
As stated in this error Sitecore 10.4 version requires SIF version 2.4 and to install it Sitecore suggested in error that use the -SkipPublisherCheck parameter, so to install this, execute the following command:
Install-Module SitecoreInstallFramework -SkipPublisherCheck -Force
After execution if you get the following error:
PS C:\windows\system32> Install-Module SitecoreInstallFramework -SkipPublisherCheck -Force | |
PackageManagement\Install-Package : No match was found for the specified search criteria and module name 'SitecoreInstallFramework'. Try Get-PSRepository to see all available registered module repositories. | |
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:9711 char:34 | |
+ ... talledPackages = PackageManagement\Install-Package @PSBoundParameters | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception | |
+ FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage |
Then Execute the following command to register repositories and register as trusted.
Register-PSRepository -Name SitecoreGallery -SourceLocation https://nuget.sitecore.com/resources/v2
Set-PSRepository -Name SitecoreGallery -InstallationPolicy Trusted
After you register the repository, you can use the SitecoreInstallFramework module, now rerun the command again, and no error:
Execute the ListAvailable command again and you will have SIF version 2.4.
Now install the Sitecore again and the issue is resolved:
Happy Sitecoreing 😊
Comments
Post a Comment