File editor installation fail: certificate expired

Hi, I have installed hassio on a rasperry pi 4. I get the following error when trying to install File editor addon:

Failed to install add-on

Can’t install homeassistant/armv7-addon-configurator:5.3.3: 500 Server Error for http+docker://localhost/v1.41/images/create?tag=5.3.3&fromImage=homeassistant%2Farmv7-addon-configurator: Internal Server Error (“Get “https://registry-1.docker.io/v2/”: x509: certificate has expired or is not yet valid: current time 2021-10-18T18:05:36Z is before 2021-11-30T00:00:00Z”)

I am new with HA, Could you help me to find where is the problem? thank you

If your time is not set on the pi you will get this problem. Is it set properly?

1 Like

Hi, the time is incorrect, but I do not know the reason. I undestood it should update automatically when connecting to internet.

I have found the following solution, but I think I haven’t reach the root of the problem.

  • Install “ssh & web terminal” add-on (the equivalent official add-on gives me the same certificate error)
  • Ask with → date command in the ssh terminal, and confirm that the date is wrong
  • Change the date manually with → date -s “2022-03-10 23:13:00”

Now I can install any add-on without certificate errors.

But, I wonder if turning off the pi the date will be delayed. Is there any way to force the date to update when connected to the internet?