Setting up new server - property key

Setting up a new server and on the server settings page it asks for the property encryption key. Are there any detailed instructions for setting up this key?

The property encryption key is an optional custom encryption key for additional security when encrypting Openfire’s stored properties (like database credentials). These encrypted values are stored in Openfire’s configuration files and database, but are not visible in the admin console.

If you’re just setting up a fresh server with no migration needs, you can leave the field blank and let Openfire manage the key automatically.

If you plan to clone or migrate this server to another environment, setting a known custom key makes it much easier - you’ll need the same key on the target server to decrypt the stored properties.

Write your key down somewhere safe. If you lose it and have encrypted properties, you won’t be able to recover them without re-entering them manually.

Thanks Guus,

Can I just enter any random values or is there a process one needs to follow?

It’s an opaque value. Doesn’t matter much what.