Not sure my answer is really related to your challenge, but be aware
that SHA-1 is deprecated and not authorized by default in 7.4.0+Since
7.4, FOS has been using OpenSSL 3.0, for which X509 certificates signed
using SHA1, for instance, are no longer...
Let's have a look on this updated article dealing with Event
Handlers:Technical Note: How to Validate Event Handler in FortiManager
and FortiAnalyzer ==>
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.