Using Episerver Search with FIPS Mode

Until recently, it was not possible to use Episerver’s search features on a FIPS enabled server — something that is quite common with government servers.

With the latest update to the episerver.search NuGet package (version 9.0.2), you can configure the Lucene search engine so that it doesn’t use MD5 encryption (the culprit that causes FIPS mode to cry foul). It’s also a very simple change.

Open your web.config file and find the episerver.search.indexingservice section. Then add a fipsCompliant=”true” attribute to it.

<episerver.search.indexingservice fipsCompliant="true">
  <clients>
    <add name="local" description="local" allowLocal="true" readonly="false" />
  </clients>
  <namedIndexes defaultIndex="default">
    <indexes>
      <add name="default" directoryPath="[appDataPath]\Index" readonly="false" />
    </indexes>
  </namedIndexes>
</episerver.search.indexingservice>

Reindex the site afterward, and everything should work as expected.

Leave a Reply

Your email address will not be published. Required fields are marked *