Skip to main content

Securing MarkLogic Server

Turn Off Encryption for a Database

  1. Select Databases from the left tree menu in the Admin Interface.

  2. Click on the Documents database to turn off encryption.

  3. On the Database Configuration page, next to data encryption, select off from the drop-down menu.

  4. Click OK.

To verify that encryption is turned off, run this query in Query Console:

xquery version "1.0-ml";
import module namespace admin = "http://marklogic.com/xdmp/admin" 
	  at "/MarkLogic/admin.xqy";

let $config := admin:get-configuration()
return admin:database-get-data-encryption($config, xdmp:database("Documents"))

=>
off

To decrypt the existing data in your database, you will need to re-index your database. On the Database Configuration page, click the reindex button and then click ok.

Note

You can also decrypt the data by forcing a merge on the database to decrypt its contents. This process may take a while.