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 https://username:password@my.domain.com:8000/Also normal, butdocker login https://my.domaian.com:8000/When reporting an error:

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

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:https://github.com/docker/docker/blob/master/docs/sources/articles/certificates.md

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

http://kb.kerio.com/product/kerio-connect/server-configuration/ssl-certificates/adding-trusted-root-certificates-to-the-server-1605.html