This post is useful to automate the solr installation and add SSL. 1. It will install the Solr as a windows service 2. Adding SSL to Solr with a self-signed certificate. Follow below steps to run the script: 1. Just copy the below script in note pad and named it as " Solr-Installation.ps1" 2. Change the highlighted value according to your needs : $JREVersion, $solrVersion, $solrPort, $solrHost, $JREPath, ,$serviceName 3. Open the Powershell in admin mode and run the file( Solr-Installation.ps1) . Param( $solrVersion = "6.6.2", $installFolder = "D:\inetpub\wwwroot\Sitecore9.0\Sitecore9.1POC\Solr", $solrPort = "8988", $solrHost = "solr-sc9.1", $solrSSL = $true, $nssmVersion = "2.24", $JREVersion = "1.8.0_161" ) $JREPath = "C:\Program Files\Java\jre1.8.0_161" ## Note that if you're running 32bit java, you will need to change this path $so...