代理:“52.6.30.174:15012的TLS握手错误:远程错误:证书错误”

时间:2016-09-08 13:59:56

标签: docker docker-cloud

当我尝试在docker cloud上自带服务器时,我遇到了下一个错误:

  

52.6.30.174:53294的TLS握手错误:远程错误:证书错误。

请帮帮我。

1 个答案:

答案 0 :(得分:1)

我遇到了同样的问题,这是我服务器上当前时间的问题。输入date -u

Sun 11 Sep 2016, 11:44:54 (UTC+0000)

在我的电脑上,时间是:

Sun 11 Sep 2016, 11:27:12 (UTC+0000)

在您的服务器上,如果您查看证书有效期: 输入:

openssl x509 -in /etc/dockercloud/agent/cert.pem -text -noout

    Validity
        Not Before: Sep 11 11:42:13 2016 GMT
        Not After : Sep  9 11:42:13 2026 GMT

因此,服务器将以Bad certificate

结束

使用date +%T -s "11:00:00"from the internet更新服务器时间,具体取决于您当前的时间配置

相关问题