This is necessary when you want to attach to a dedicated external Solr
server protected with basic http authentication and requested over https
but having only a self-signed certificate.
# Set to true when TLS is enabled with a self-signed certificated on a main external Solr with authentication required ( its URL looks like https://user:password@localhost:8984/solr/)
<dd>Tick this when the remote Solr server is password protected and is requested over HTTPS but provides only a self-signed certificate (not a validated one by an official Certificate Authority). The Solr URL could be for example something like <i>https://user:password@localhost:8984/solr</i>.
@ -1102,7 +1102,14 @@ public final class Protocol {
@Override
publicvoidrun(){
try{
this.instance=newRemoteInstance(this.targetBaseURL,null,"solr",this.timeout);// this is a 'patch configuration' which considers 'solr' as default collection
this.instance=newRemoteInstance(this.targetBaseURL,null,"solr",this.timeout,trustSelfSignedOnAuthenticatedServer);// this is a 'patch configuration' which considers 'solr' as default collection
this.setName("Protocol.solrQuery("+solrQuery.getQuery()+" to "+seed.hash+")");
try{
RemoteInstanceinstance=newRemoteInstance("http://"+seed.getPublicAddress(seed.getIP())+"/solr/",null,null,10000);// this is a 'patch configuration' which considers 'solr' as default collection
RemoteInstanceinstance=newRemoteInstance("http://"+seed.getPublicAddress(seed.getIP())+"/solr/",null,null,10000,trustSelfSignedOnAuthenticatedServer);// this is a 'patch configuration' which considers 'solr' as default collection