-
Notifications
You must be signed in to change notification settings - Fork 66
[OCPP 1.6] InvalidCentralSystemCertificate being logged too frequently #1155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OCPP 1.6] InvalidCentralSystemCertificate being logged too frequently #1155
Conversation
a4a7514 to
39b8a33
Compare
|
This PR was affected by a security incident where a compromised account force-pushed to this branch and closed the PR. ✅ Branch History Restored We've run an automation that restored the complete history of this branch to the time before the attack. All your commits are preserved. Nothing has been updated in the respective branch in case someone force-pushed after the attack but before our automation. 🔄 Action Required GitHub won't allow reopening this PR after the close and force-push. Please:
We apologize for the inconvenience. |
Describe your changes
fix: InvalidCentralSystemCertificate was logged on every failed connection
A CSMS certificate may be considered invalid when a charger has the incorrect time. This can be recovered by using NTP. However a security event is raised for each failed connection attempt until the correct time is set.
This change ensures that InvalidCentralSystemCertificate is logged only on the first occurance.
Issue ticket number and link
Checklist before requesting a review