关于ambri hst agent注册失败错误,查看log:
=============
INFO 2017-09-21 10:52:33,435 security.py:178 - Server certificate not exists, downloading
INFO 2017-09-21 10:52:33,435 security.py:191 - Downloading server cert from
ERROR 2017-09-21 10:52:33,510 ServerAPI.py:137 - POST failed. (SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)'),)
============
这个错误是因为python-2.7.5-e58版本默认是使用ssl验证,解决这个问题,修改/etc/python/cert-verification.cfg:
[https]
verify=
disable
或者降级python版本
阅读(5914) | 评论(0) | 转发(0) |