Is it possible to change crypto key storage location in AEM after initialization

Is it possible to change crypto key storage location in AEM after initialization?

Issue

In AEM 6.3, the crypto key storage was moved from the filesystem to the JCR.

Is it possible to move it back to the filesystem?

Environment

AEM >= 6.3

Answer

The key provider storage type cannot be changed after initialization (similar to a runmode).

However, if the system has not been initialized yet, then the following JVM parameter can be added to the java command (before -jar) to keep the crypto key on the filesystem:

-Dcom.adobe.granite.crypto.file.disable=false

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online