Enable mutual TLS authentication for Solr
You can configure Sitecore to use an X509 client authentication certificate to authenticate with Solr. Sitecore then includes the certificate in every request it sends to Solr.
To enable Solr client certificate authentication:
-
Obtain a valid certificate that can be authenticated by Solr.
-
Install the certificate on the server where you deploy the Solr instance.
-
Add this connection string to
ConnectionStrings.configon all Sitecore instances where you use Solr:NoteReplace the curly brackets (
{ }) and the content between them with the values from the certificate you installed.
You can add configuration that makes Sitecore validate a Solr certificate when it communicates with Solr. Sitecore does this by comparing thumbprints.
To make Sitecore validate a Solr certificate when it communicates with Solr:
-
Obtain certificate thumbprint(s) from the Solr server(s).
-
Add the following connection string to
ConnectionStrings.configon all Sitecore instances that use Solr:NoteReplace the content curly brackets (
{ }) and the content between them with the Solr centificate thumbprint value. Use the pipe character (|) as separator if you provide multiple values.