-
Notifications
You must be signed in to change notification settings - Fork 56
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
Add timers for certificate expiration check (A03) #250
Conversation
One concern of mine: I added the initialization of the timers to both the |
d38648e
to
c22842a
Compare
980db91
to
6a28c29
Compare
Signed-off-by: Fabian Klemm <[email protected]> add timers for certificate renewal Signed-off-by: Fabian Klemm <[email protected]>
Signed-off-by: Fabian Klemm <[email protected]>
Signed-off-by: Fabian Klemm <[email protected]>
Signed-off-by: Fabian Klemm <[email protected]>
6a28c29
to
87d12e5
Compare
Signed-off-by: Fabian Klemm <[email protected]> format Signed-off-by: Fabian Klemm <[email protected]>
87d12e5
to
7d8ed76
Compare
It is not allowed to send this message (SignCertificate.req) to the CSMS before the BootNotification.req has been confirmed with a BootNotification.conf(Accepted) from the CSMS (== RegistrationStatus::Accepted), so the implementation is just fine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check again in which situations we should request a V2G or client certificate and only set the timers if required
Signed-off-by: Fabian Klemm <[email protected]>
Add timers for the renewal of charging station certificates (use case A03). Oriented at OCPP1.6 implementation.
Note: requires update of libevse-security to correctly return remaining valid days (see https://github.com/EVerest/libevse-security/pull/14/files)
Tested in https://github.com/PionixInternal/ocpp-testing/pull/34