If updating your machine's date/time to a server doesn't help
Then for sure, it is a certificates error....
But we need information about your setup....Adguard can cause it so can Kaspersky.
Great. Close Firefox. Disable Adguard protection for 30 sec- 1 minute and enable protection. Wait for 30sec - 1 min and then open Firefox. Adguard - Ad Blocker