Hello,
I am experiencing an issue after upgrading my Centreon server to 25.10.13.
Environment
- Centreon Central: 25.10.13
- Centreon Web: 25.10.13
- Centreon Broker: 25.10.7
- Centreon Engine: 25.10.7
- MariaDB: 10.11.18
- AlmaLinux 9
Problem
After exporting the configuration from the Centreon Web interface, the broker configuration file is regenerated and the database password is written as an encrypted value:
"db_password": "encrypt::..."When cbd starts, it immediately fails with:
No usable encrypted password: Decryption finalization failed: error:1C800064:Provider routines::bad decryptThe broker continuously crashes and is restarted by the watchdog.
Investigation performed
- MariaDB is running correctly.
- The
centreondatabase account works correctly. - Manual connection to
centreon_storagesucceeds:
mysql -u centreon -p centreon_storage/etc/centreon-engine/engine-context.jsonexists.- Gorgone, Engine and MariaDB are running correctly.
- Symfony secrets seem healthy:
php /usr/share/centreon/bin/console secrets:listreturns no errors.
Workaround
If I manually edit:
/etc/centreon-broker/central-broker.jsonand replace:
"db_password": "encrypt::..."with the database password in clear text:
"db_password": "********"then:
systemctl restart cbdstarts successfully and the whole monitoring platform immediately comes back online.
Reproduction
- Export configuration from Centreon UI.
central-broker.jsonis regenerated.db_passwordbecomesencrypt::...- cbd fails with
bad decrypt. - Replace the encrypted value with the clear text password.
- cbd starts successfully.
Additional information
Installed packages:
centreon-web-25.10.13
centreon-central-25.10.13
centreon-broker-25.10.7
centreon-engine-25.10.7No newer Centreon Broker package is available through the repositories.
Has anyone experienced this issue after upgrading to 25.10.x?
Is there a known procedure to regenerate or repair the encryption keys used by Centreon Broker?
Thanks in advance for your help.