ERR_CERT_AUTHORITY_INVALID error

I’m having this error since yesterday ERR_CERT_AUTHORITY_INVALID
every time i create a repl it works for a few hours then stops with the previous error.
any idea how to fix?
thanks