Skip to main content
Solved

Centreon 25.10.13 - Broker fails after configuration export with "No usable encrypted password: bad decrypt"

  • Jun 4, 2026 10:58 AM UTC
  • 8 replies
  • 232 views

Forum|alt.badge.img

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 decrypt

The broker continuously crashes and is restarted by the watchdog.

Investigation performed

  • MariaDB is running correctly.
  • The centreon database account works correctly.
  • Manual connection to centreon_storage succeeds:
mysql -u centreon -p centreon_storage
  • /etc/centreon-engine/engine-context.json exists.
  • Gorgone, Engine and MariaDB are running correctly.
  • Symfony secrets seem healthy:
php /usr/share/centreon/bin/console secrets:list

returns no errors.

Workaround

If I manually edit:

/etc/centreon-broker/central-broker.json

and replace:

"db_password": "encrypt::..."

with the database password in clear text:

"db_password": "********"

then:

systemctl restart cbd

starts successfully and the whole monitoring platform immediately comes back online.

Reproduction

  1. Export configuration from Centreon UI.
  2. central-broker.json is regenerated.
  3. db_password becomes encrypt::...
  4. cbd fails with bad decrypt.
  5. Replace the encrypted value with the clear text password.
  6. 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.7

No 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.

Best answer by christopher.jacques

Hello,

This issue appears to have been fixed in version 25.10.17.
OS: Oracle Linux 9

View original

8 replies

Forum|alt.badge.img+3
  • Centreonian
  • Jun 23, 2026 2:18 PM UTC

Hello,

Is it a remote server?

Is UI on the same server as cbd?


EricSchnell
Forum|alt.badge.img+2
  • Steward *
  • Jun 30, 2026 2:58 PM UTC

Hello.

I’ve exactly the same problem on my test platform.

My environment is slightly different:

  • Debian 12
  • centreon-web-25.10.15
  • centreon-central-25.10.15
  • centreon-broker-25.10.9
  • centreon-engine-25.10.9

but the result is the same : when the “db_password” is encrypted in central-broker.json, broker crashes with following messages in /var/log/centreon-broker/central-broker-master.log:
 

[config] [error] No usable encrypted password: Decryption finalization failed: error:1C800064:Provider routines::bad decrypt

[core] [error] Error during cbd exit: No usable encrypted password: Decryption finalization failed: error:1C800064:Provider routines::bad decrypt
[core] [info] main: process /usr/sbin/cbd pid:1892458 end exit_code:1

 

 

 

.


fmattes
Centreonian
Forum|alt.badge.img+11
  • Centreonian
  • Jul 1, 2026 9:26 AM UTC

Hi,

We are working on this issue and will let you informed.


Forum|alt.badge.img
  • Steward *
  • Aug 3, 2026 12:55 PM UTC

+1 we have the problem with RHEL8 and Centreon 25.10.16 as well.


Forum|alt.badge.img+5

Hello,I have the same issue
Centreon 25.10.16
OS: Oracle Linux 9


Forum|alt.badge.img+5

Hello,

This issue appears to have been fixed in version 25.10.17.
OS: Oracle Linux 9


EricSchnell
Forum|alt.badge.img+2
  • Steward *
  • Oct 29, 2026 10:51 AM UTC

Hello.

I confirm.

Issue fixed since 25.10.17.


fgbetokpanou
Centreonian
Forum|alt.badge.img+12
  • Centreonian
  • Oct 29, 2026 12:19 PM UTC

Update for everyone following this thread: another user, who was still seeing this issue on 25.10.18, reported that a full restart of the instance after the upgrade resolved it. The encrypted db_password in central-broker.json is now working as expected on 25.10.18. Details are in this thread.

If you still see the issue on 25.10.17 or later, please make sure all Centreon services have been restarted after the upgrade, and let us know if it persists.