在Docker 1.3.2 rhel 7主机上由未知权限签名的x509证书

我在AWS的rhel 7主机上设置docker(1.3.2)来运行registry,并configurationnginx来代理到那个容器的stream量。 在另一个rhel 7主机上,我运行时复制了ca.crt

$ curl --cacert /tmp/ca.crt https://user:test@repo.test 

我能够看到registry我得到下面的回应。

 "\"docker-registry server\"" 

但是,当我尝试运行

 $ docker login repo.test:443 

并input用户名密码和电子邮件,我得到以下错误。

 2015/01/14 16:59:48 Error response from daemon: Server Error: Post https://repo.test/v1/users/: x509: certificate signed by unknown authority. 

我正在运行--insecure-registry repo.test:443守护进程--insecure-registry repo.test:443

我试图通过将证书放在/etc/pki/ca-trust/source/anchors/并运行来导入ca.crt

 $ update-ca-trust enable $ update-ca-trust extract 

但我仍然得到错误。

如果有人能指出我的方向,我将非常感激。