Self-signed ssl root certificate certificatesigned by unknown authority

  docker, question

I set up a private CA center on a server in the intranet to make a self-authorized ssl certificate. After importing the generated root certificate into the browser, there is no warning when accessing https, but I use it on another CentOS.curl normal, butdocker login reporting an error:

certificate signed by unknown authority (possibly because of "crypto/rsa:
 verification error" while trying to verify candidate authority certificate "")

The question is, how can we trust this self-signed root certificate CA on centos?

dockerHave their own certificate storage directory, the path is/etc/docker/certs.d/. The format can be found in official documents:

In addition, the operating system adds various gestures of the root certificate: