Can't update Home Assistant. Certificate error

Hi,

I’m on version 2022.8.2. When I try to update HA to 2022.8.6, I get the error below showing in the logs. I’m running HA on a VirtualBox VM hosted in Win10. I have 2 separate network interfaces connected, one for internet and the other for my smart wifi devices. I can ping internet domains from HA, actually HA detects there’s a new version. HA can also access all my devices without any problem, so probably connectivity can be ruled out. As per the error, the issue looks like certificates problems, but I have no idea how to solve it.

I’m new to HA and Linux. Please help.

Error:

ERROR (SyncWorker_2) [supervisor.docker.interface] Can’t install ghcr. io/home-assistant/qemux86-64-homeassistant:2022.8.6: 500 Server Error for http+docker://localhost/v1.41/images/create?tag=2022.8.6&fromImage=ghcr. io%2Fhome-assistant%2Fqemux86-64-homeassistant&platform=linux%2Famd64: Internal Server Error (“Get “https:/ /ghcr.io/v2/”: x509: certificate is valid for myrouter. io, not ghcr. io”)

Thanks in advance!