Docker certificate access requires https

The company’s intranet centos8 machine uses zerotire, and docker opens the ca certificate to log in. It needs to use https but it prompts when I link
Could not connect: javax.net.ssl.SSLPeerUnverifiedException: Certificate for ip
doesn’t match any of the subject alternative names:[ip,0.0.0.0]