That strongly suggests you don’t have any root CA certificates installed in the machine which you are running Docker on. Without those, HTTPS doesn’t work, because it doesn’t know if the certificates being presented by websites are legit.
Given your prompt style, I’m thinking you’re probably running a RHEL-alike distro, so the package you want to install is probably ca-certificates.