X509 certificate error when pulling image from docker hub

Hi

I have docker version 20.10 running on my ubuntu 20.04.
I have installed docker and able to run docker commands also able to pull all ubuntu images from docker hub - docker search ubuntu

When I try to pull any image I get error " Error pulling image configuration: download failed after attempts = 6: TLS : failed to verify certificate : x509: certificate signed by unknown authority"

Tried most of the solutions provided in stack and forums nothing worked…
Wanted to get some suggestions from experts here