Installation and Administration

Implementing Encryption

Binaries Encryption

The content files stored by the Nuxeo Platform, also known as binaries, are stored using the BinaryManager abstraction, as described in the Binary Store documentation. There are several ways to configure encryption depending on your choice of BinaryManager.

Filesystem AES Encryption

Since Nuxeo Platform 6.0, it's possible to use a BinaryManager that encrypts files using AES. Two modes are possible:

  • A fixed AES key retrieved from a Java KeyStore
  • An AES key derived from a human-readable password using the industry-standard PBKDF2 mechanism (in which case each encrypted file contains a different salt for security reasons).

You choose the mode and the parameters by providing the key= configuration options in the <binaryManager class="" key="..."> of the repository configuration.

The configuration has the form key1=value1,key2=value2,... where the possible keys are, for Java KeyStore use:

  • keyStoreType: the keystore type, for instance JCEKS
  • keyStoreFile: the path to the keystore, if applicable
  • keyStorePassword: the keystore password
  • keyAlias: the alias (name) of the key in the keystore
  • keyPassword: the key password

And for PBKDF2 use:

  • password: the password

The binary manager and options can be set through nuxeo.conf:


By default Java ships with a Java Cryptographic Extension (JCE) module configured for 128-bit maximum key length, whereas the Nuxeo Platform needs at least 256-bit keys for adequate security of AES. The Nuxeo code attempts to work around these restrictions automatically to force the JCE to allow unlimited key length.

If it cannot force it, you will get an exception Illegal key size or default parameters when encrypting or decrypting a file. In that case, you must go to Oracle Java SE Downloads and download and install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files for your JDK (see the README.txt file inside the downloaded ZIP for installation instructions).

## S3 Encryption The configuration is described in Amazon S3 Online Storage.
4 months ago manonlumeau NXDOC-1831: remove opensocial parameters
4 years ago Florent Guillaume 8
5 years ago Solen Guitter 7 | Formatting and links
5 years ago Florent Guillaume 6
5 years ago Florent Guillaume 5
5 years ago Florent Guillaume 4
5 years ago Florent Guillaume 3
5 years ago Florent Guillaume 2
5 years ago Mike Obrebski 1
History: Created by Mike Obrebski

We'd love to hear your thoughts!

All fields required