packetfence
packetfence copied to clipboard
Clear warning after certificate changes
Too often, certificates (for the captive portal or RADIUS) are updated but services are NOT entirely restarted, leading to authentication errors. This is especially true in clustered environments where we might forget to restart services on all servers.
We should have a clear warning in the logs about that and also, ideally, in the PacketFence admin GUI. We could simply check the timestamps of the certificate and make sure the relevant processes have a start date later than that.
Related to https://github.com/inverse-inc/packetfence/issues/5576