bengalih
Senior Member
So I had an issue today I've never seen before and it appears to be due to something funky happening with the date/time not being retained (or even updated) on the router:
I use EAP Proxy configuration to connect to my ISP's fiber network and this requires the proper date for the certificate to be validated.
This service starts after boot, and presumably re-validates every so often (might be only once every week or two).
When I got hope today I found that my internet connection wasn't working and when I investigated I found the certificate validation wasn't happening due to a date error.
When I paid closer attention to the logs I saw that it said my certificate was only valid starting 1/12/22. Today is 1/25/22, but my syslog entries were showing that it was only 1/7/22.
I didn't notice this until after I got my device online through non EAP means, at which point it appears the date updated properly. When I went back to try my Proxy it successfully validated the certificate.
So I have these questions:
I use EAP Proxy configuration to connect to my ISP's fiber network and this requires the proper date for the certificate to be validated.
This service starts after boot, and presumably re-validates every so often (might be only once every week or two).
When I got hope today I found that my internet connection wasn't working and when I investigated I found the certificate validation wasn't happening due to a date error.
When I paid closer attention to the logs I saw that it said my certificate was only valid starting 1/12/22. Today is 1/25/22, but my syslog entries were showing that it was only 1/7/22.
I didn't notice this until after I got my device online through non EAP means, at which point it appears the date updated properly. When I went back to try my Proxy it successfully validated the certificate.
So I have these questions:
- Any idea what could have caused my system to thing it was still 1/7/22 even though it has been online connected through at least 11pm on 1/24/22 ?
- This issue didn't appear to happen after a router reboot, and it has never happened to me before after a reboot. What I don't understand is this:
- If the device loses its date/time on reboot, how is it able to get the current date/time if it can't connect to the internet? I'm sure my device must have at the very least the proper date before connecting or else it wouldn't even be able to validate the certificate. Does the device have a CMOS battery that stores the date and is pulled by the OS at some point during boot? If the CMOS battery fails will I never have the correct date unless it connects (or I set manually)?