looking for Azure experts advice!

I have about 1M AuthenticationExceptions while connecting to solr in the last few hours for almost non-active Sitecore instance...

I checked all the apps, they all have <add key="AllowInvalidClientCertificates" value="True" />, but this exception still popups. Looks like its having troubles connecting to solr: System.Security.Authentication.AuthenticationException at Sitecore.Xdb.Collection.Search.Solr.SolrClient+<SendGetRequestAsync>d__4.MoveNext Solr is running on a VM behind HTTPS, with self-signed certificate.

Also in the custom properties of the exception it says Application: XConnect. Checked those apps too, AllowInvalidClientCertificates also true there...

I'm running out of ideas where to look about... Any suggestions?

enter image description here


Solr will need a valid certificate to run.

Ensure that https is enabled and properly set. You can check this in the solr.in.cmd file located in the solr\bin folder. Verify the following settings

REM Enables HTTPS. It is implictly true if you set SOLR_SSL_KEY_STORE. Use this config
REM to enable https module with custom jetty configuration.
REM Uncomment to set SSL-related system properties
REM Be sure to update the paths to the correct keystore for your environment

If you need to generate a certificate, the following URL was a great help to me


you can also check the SOLR documentation as well

Once configured you should be able to browse to your SOLR URL in HTTPS

NOTE: After modifying the SOLR settings you will need to restart your SOLR windows service.

  • Solr does run on HTTPS , but on with self-signed certificate. I can access https:// myhostname/solr , but I have to approve that certificate authority is not trusted. All the settings you mentioned are set correctly. – mcsdwarken Jan 30 at 20:24
  • Is there anything in the SOLR/Apache logs? I also have SOLR running with a self Sign Cert. – Mikeyp Jan 31 at 17:57
  • thanks for an advice, I checked solr.log and there's nothing related to this issue. Which version of Sitecore and Solr are you running? – mcsdwarken Feb 5 at 9:56
  • I am in the process of upgrading to Sitecore 9.1 with SOLR 7.2.1. I have it running locally with a self signed cert. When I access the SOLR admin UI, I am not prompted to accept the cert. Since you are, that seems like there is a problem with the cert. Have you tried creating a new cert? – Mikeyp Feb 5 at 15:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.