作者:贵族灬阿宝 | 来源:互联网 | 2024-09-27 11:16
我在内网一台服务器上搭建了私有CA中心来做自授权ssl证书,将生成的根证书导入浏览器后访问https没有再出现警告,但我在另外一台CentOS上使用
1
| curl https://username:password@my.domain.com:8000/ |
也正常,但
1
| docker login https://my.domaian.com:8000/ |
时报错:
1 2
| certificate signed by unknown authority (possibly because of "crypto/rsa:
verification error" while trying to verify candidate authority certificate "my.domain.com") |
问题是,在centos上怎样做才能够信任这个自签署的根证书CA呢