Skip to main content
Question

Centreon migration to 25.10 - Macros can't be decrypted

  • November 24, 2025
  • 2 replies
  • 32 views

Forum|alt.badge.img+11

Hello, since a migration from the 24.10 platform to the 25.10 on a RHEL9 server (central server with the embed poller), after migration, most macros that were defined on the host don’t seem to be decrypted correctly by the poller.

I’m seeing many logs like 

 fail to decrypt content of macro _HOSTCUSTOM_MACRO: Decryption finalization failed: error:1C800064:Provider routines::bad decrypt

I have followed correctly the upgrade steps from the documentation and especially for the poller to extract the symetric key at Upgrade from Centreon 24.10 | Centreon Documentation

 

Does anyone face that issue yet ?

2 replies

Forum|alt.badge.img+11

In addition to context, i used the APIV2 “Fully update the platform”  to finish my migration from the 24.10
Centreon Web RestAPI

 

This can be related as there was a step to do the migration to encrypted pollers from here, unsure if that’s the main source of the issue.

 


Forum|alt.badge.img+11

I keep on digging but I can’t find the origin of the issue. It’s specific to the password type macros, they have access to the /etc/centreon-engine/engine-context.json extracted from the centreon instance but fail when decrypting the macro.

Found the origin code in the collect project in the centreon engine codebase, but it’s using a shared aes encryption library, i can’t figure out why it would fail decrypting the variable in my case. Maybe some system library for Rocky 9 doesn’t ally decryption or has a bug. I’m completely lost on that one. If anyone has an idea ?