Skip to main content

Posts

Showing posts from February, 2019

Configure https on existing solr running on http

Hello All, I had the scenario today where i installed my solr nodes and services and everything was working fine, but later i noticed that we will need solr running on https with sitecore 9.1, and i saw on the internet that how we can generate the certificate and put it in the trusted certificate store and update solr.in.cmd file so that it has all those entries to make solr run as https and also we will need solr certificate .pfx file on the path $solr\server\etc folder. I also got some scripts on the internet and i tried them out but there was something missing and my solr did not start with https somehow. So what i did was i took my solr installation powershell script which installed solr from the scratch, installs certificate and configures it, also restarts services etc. So i took that script and modified in a way so that it only does things for making existing installed solr from http to https. Following is the script Param( $solrVersion = "6.6.2",