cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

enable solr on HTTPS or Solr SSL

Former Member
0 Likes
742

Hybris version : 5.6 Solr: 4.6.1

One need to change in the jetty.xml file.

Just uncomment the below mention lines, and comment the configuration for HTTP. Note: Both can not run simultaneously.

 <Call name="addConnector">
   <Arg>
     <New class="org.ee.jetty.server.ssl.SslSelectChannelConnector">
       <Arg>
         <New class="org.ee.jetty.http.ssl.SslContextFactory">
           <Set name="keyStore"><SystemProperty name="jetty.home" default="."/>/etc/solrtest.keystore</Set>
           <Set name="keyStorePassword">secret</Set>
           <Set name="needClientAuth"><SystemProperty name="jetty.ssl.clientAuth" default="false"/></Set>
         </New>
       </Arg>
       <Set name="port"><SystemProperty name="jetty.ssl.port" default="8984"/></Set>
       <Set name="maxIdleTime">30000</Set>
     </New>
   </Arg>
 </Call>

Accepted Solutions (0)

Answers (0)