elasticssearch版本8.4.3
根據(jù)官網(wǎng)的提示https://www.elastic.co/guide/en/fleet/8.4/fleet-troubleshooting.html#agent-enrollment-certs
出現(xiàn)這種問題需要增加參數(shù)--insecure
To fix this problem, pass the?--insecure
?flag along with the?enroll
?or?install
?command.?
./elastic-agent install ? --fleet-server-es=https://192.168.0.180:9200 ? --fleet-server-service-token=AAEAAWVsYXN0aWMvZmxlZXQtc2VydmVyL3Rva2VuLTE2NjU0NjAxNTE0NjM6U3pRNk5DLTZSSi15eFdlLWxtd2JlQQ ? --fleet-server-policy=fleet-server-policy --insecure
經(jīng)過試驗(yàn),并未生效,依舊報(bào)同樣的錯(cuò)誤
需要增加https ca證書,如果試驗(yàn)rpm安裝默認(rèn)路徑為/etc/elasticsearch/certs/http_ca.crt
./elastic-agent install ? --fleet-server-es=https://192.168.0.180:9200 ? --fleet-server-service-token=AAEAAWVsYXN0aWMvZmxlZXQtc2VydmVyL3Rva2VuLTE2NjU0NjAxNTE0NjM6U3pRNk5DLTZSSi15eFdlLWxtd2JlQQ ? --fleet-server-policy=fleet-server-policy --fleet-server-es-ca=/etc/elasticsearch/certs/http_ca.crt
?文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-513114.html
?測(cè)試成功!文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-513114.html
到了這里,關(guān)于elastic-agent安裝報(bào)錯(cuò)“Fleet Server - Error - x509: certificate signed by unknown authority的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!