Sitecore 9.0 Installation with SIF

This blog explains the steps and experiences and errors I encountered in the installation of Sitecore 9.0.Sitecore 9.0 installation differs from its previous installations and removes the dependency of the SIM installations as with the previous Sitecore installations.With sitecore 9.0 installations, we get enhanced advantages of some core functionalities like sitecore xConnect which allows  two way data connect,data exchange framework 2.0 enhanced SQL providers,native integration with Azure services.

Lets discuss the prerequisites and installation steps.


  1. Sitecore Installation Framework
  2. Powershell 5.0 or later
  3. Web Platform Installer
  4. Windows 10
  5. Microsoft SQL server server 2016
  6. Java Runtime environment
  7. Solr 6.6.1

Initial Steps

Install Javaruntime for Windows by using

Install Solr 6.6.2( from the following URL

Extract the zip file into program files

Navigate to the solr installation folder using command – cd C:\Program Files\solr-6.6.2\bin

Run command solr start.

Solr will start on port 8983.Make sure url http://localhost:8983/solr/#  running.


Add SSL to Solr

We need to generate the ssl key by using java keyttol.exe which is in location ‘C:\Program Files\solr-6.6.2\server\etc’

For doing this,Follow procedure below

  1. From command prompt -navigate to solr folder with command “cd C:\Program Files\solr-6.6.2\server\etc”
  2. Run “C:\Program Files\Java\jdk1.8.0_144\bin\keytool.exe” -genkeypair -alias solr-ssl -keyalg RSA -keysize 2048 -keypass secret -storepass secret -validity 9999 -keystore solr-ssl.keystore.jks -ext SAN=DNS:localhost,IP: -dname “CN=localhost, OU=Organizational Unit, O=Organization, L=Location, ST=State, C=Country”                                                                                                                            Note – C:\Program Files\Java\jdk1.8.0_144\bin is java JRE installation folder.
  3. solr-ssl.keystore.jks file will be ghenerated at C:\Program Files\solr-6.6.2\server\etc folder.
  4. Run “C:\Program Files\Java\jdk1.8.0_144\bin\keytool.exe” -importkeystore -srckeystore solr-ssl.keystore.jks -destkeystore solr-ssl.keystore.p12 -srcstoretype jks -deststoretype pkcs12                                                                       Note – enter ‘secret’ as password
  5. Key solr-ssl.keystore.p12 will be generated.See the screenshot2
  1. Double click on the key to open certificate Import wizard and install certificate.
  2. While installing certificate , select Certificate Store: Trusted Root Certification Authorities
  3. Navigate to ‘C:\Program Files\solr-6.6.2\bin\’ and uncomment following lines(remove REM).                                                                                                                    set SOLR_SSL_KEY_STORE=etc/solr-ssl.keystore.jks                                                    set SOLR_SSL_KEY_STORE_PASSWORD=secret                                                                set SOLR_SSL_KEY_STORE_TYPE=JKS                                                                              set SOLR_SSL_TRUST_STORE=etc/solr-ssl.keystore.jks                                                  set SOLR_SSL_TRUST_STORE_PASSWORD=secret                                                            set SOLR_SSL_TRUST_STORE_TYPE=JKS                                                                              set SOLR_SSL_NEED_CLIENT_AUTH=false                                                                          set SOLR_SSL_WANT_CLIENT_AUTH=false
  4. Restart solr usingsolr restart -p 8983 from C:\Program Files\solr-6.6.2\bin path

Follow steps below to make Solr as service follow the steps below


  1. Install NSSM from
  2. Navigate to NSSM installed folder(for example C:\Program Files\nssm\nssm-2.24\nssm-2.24\win64) using command prompt and run nssm install solr6
  3. Populate the fields shown on service editor like shown in screenshot below.Make sure to add arguments ‘start -f -p 8983’ and install service.

Next Steps

Create a folder with Name “Sitecore” under C drive or any base drive

Create folder with Name “9.0” under Sitecore and place Licence file in that folder.

Download the Packages for XP Single from and extract it to C:\Sitecore\9.0

Navigate to and copy the powershell script and paste it in “C:\Sitecore\9.0\installsitecore900.ps1” installsitecore900 is new powershell documents file to be created in that location.

The directory should look like the screenshot below


Now, Open powershell command from C:\Sitecore\9.0 and run the below script

Register-PSRepository -Name SitecoreGallery -SourceLocation

Run the command

Install-Module SitecoreInstallFramework

Now, Run following command

Install-Module SitecoreFundamentals

We may want to Edit installsitecore900.ps1 and change following paths to reflect local paths

$SolrUrl = “https://localhost:8983/solr”

$SolrRoot = “C:\solr-6.6.2″(I changed this to C:\Program Files\solr-6.6.2)

$SolrService = “solr”

$SqlServer = “localhost”

$SqlAdminUser = “sa”

$SqlAdminPassword = “12345”

$SqlAccountUser = “$prefix”

$SqlAccountPassword = “Pa##w0rd”

$FilesRoot = “C:\Sitecore”(I changed this to C:\Sitecore\9.0)

 Now, Run installsitecore900.ps1 script from folder c:\Sitecore\9.0

Possible Errors

  1. Failed to start service ‘solr (solr)’.

Detailed stack error will be logged to file name ‘xconnect-solr.180212.log’

Message says – The running command stopped because the preference variable “ErrorActionPreference” or common parameter is set to Stop

Solution – Make sure SSL is set up on Solr using above steps.


  1. The running command stopped because the preference variable “ErrorActionPreference” or common parameter is set to Stop: Failed to start service ‘solr (solr)’.”

Solution – Solr should be set up with SSL certificate.Make sure you restart the solr after installing SSL on Solr.If that does not work,make sure ‘JAVA_HOME’ environmental variable is there.If adding new system variable, a system restart will be needed.

  1. Unable to connect to master or target server ‘sc900_Processing.Pools’. You must have a user with the same password in master or target server ‘sc900_Processing.Pools’.

Solution – Open installsitecore900.ps1 with Notepad and edit to make sure $SqlServer = “ SQL server instance name if server name is not localhost” and update sa password with “12345” as it is specified in the “installsitecore900.ps1” file.More details can be found in




2 thoughts on “Sitecore 9.0 Installation with SIF

Add yours

  1. Rama, thanks for your blog. Helped me to install Sitecore 9 for the first time succesfully. Is it necessary to convert the solr-ssl.keystore.jks file to p12 format for enabling SSL on SOLR? I tried importing solr-ssl.keystore.jks directly per sitecore documentation and it also worked. Just wondering if there is any specific reason you converted it?

    1. Hi Abhi,
      Glad to hear that helped.
      solr-ssl.keystore.p12 contains wizard that will help to import the certificate and place the certificates in trusted certificate root authorities or any custom store.Windows will automatically select the default certificate store if that key is not converted to P12 which happened in your case.

Leave a Reply

Powered by

Up ↑

%d bloggers like this: