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:email@example.com:8000/Also normal, but
docker 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: