# Filebeat error: fail to execute the HTTP GET request: Get "https://172.30.169.50:5000/api/status": x509: certificate signed by unknown authority

**URL:** <https://discuss.elastic.co/t/filebeat-error-fail-to-execute-the-http-get-request-get-https-172-30-169-50-5000-api-status-x509-certificate-signed-by-unknown-authority/308057>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 23, 2022, 9:37pm UTC](https://discuss.elastic.co/t/filebeat-error-fail-to-execute-the-http-get-request-get-https-172-30-169-50-5000-api-status-x509-certificate-signed-by-unknown-authority/308057 "2022-06-23T21:37:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gisellecarballo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gisellecarballo/32/112755_2.png) [@gisellecarballo](https://discuss.elastic.co/u/gisellecarballo)\
**Post date:** [June 23, 2022, 9:37pm UTC](https://discuss.elastic.co/t/filebeat-error-fail-to-execute-the-http-get-request-get-https-172-30-169-50-5000-api-status-x509-certificate-signed-by-unknown-authority/308057/1 "2022-06-23T21:37:40Z")

</div>

Hi Team,  
Anyone had an idea why I am getting this error while setting up filebeat. Thanks so much.  
\</\> Exiting: error connecting to Kibana: fail to get the Kibana version: HTTP GET request to [https://172.30.169.50:5000/api/status](https://172.30.169.50:5000/api/status) fails: fail to execute the HTTP GET request: Get "[https://172.30.169.50:5000/api/status](https://172.30.169.50:5000/api/status)": x509: certificate signed by unknown authority. Response: \</\>

\</\>  
I am only able to curl using http. and no luck with https  
root@filelogs01-ph:~# curl -u elastic "[http://172.30.169.50:9200/\_cat/indices](http://172.30.169.50:9200/_cat/indices)"  
Enter host password for user 'elastic':  
green open .security-7 SGZB30AyR62Tldu36eAOsA 1 0 60 0 276.8kb 276.8kb  
green open .apm-custom-link rJpdqcMtQryvdDgOK9yFNA 1 0 0 0 226b 226b  
green open .apm-agent-configuration 0fZldFi3R9y3Jfd\_lgMMUw 1 0 0 0 226b 226b  
green open .async-search Uc2q4OlRTPK12eRimZJnbw 1 0 12 4 105.7kb 105.7kb  
green open .kibana\_task\_manager\_7.17.4\_001 mYgoqTxeRkyNClEpWyaCBQ 1 0 18 3367 2.5mb 2.5mb  
green open .fleet-policies-7 VqPP2BZMQhurIqcsv8uaCw 1 0 2 0 11.3kb 11.3kb  
green open .kibana\_7.17.4\_001 5glUOGE8TnG4GNoFYu0OZA 1 0 576 54 2.4mb 2.4mb  
green open .tasks 7hTFpMWaS5CSEHQ\_Asrn4Q 1 0 22 0 66.5kb 66.5kb  
\</\>  
kibana and elasticsearch server: 172.30.169.50  
**filebeat server: 172.30.169.51**  
\</\>  
filebeat.inputs

- type: syslog  
enabled: false  
paths:

- type: filestream  
enabled: false

filebeat.config.modules:  
enabled: false  
path: ${path.config}/modules.d/\*.yml  
reload.enabled: true

setup.template.settings:  
index.number\_of\_shards: 1

setup.kibana:  
host: "[https://172.30.169.50:5000](https://172.30.169.50:5000)"  
ssl.verification\_mode: "none"  
username: "elastic"  
password: "m4gN3s!@.123"

output.elasticsearch:  
hosts: ["172.30.169.50:9200"]  
ssl.verification\_mode: "none"  
username: "elastic"  
password: "m4gN3s!@.123"

indices:

- index: "sbx-%{+yyyy.MM.dd}"  
when.regexp:  
hostname: "^SBX-SS01.\*"

processors:

- add\_host\_metadata:  
when.not.contains.tags: forwarded
- add\_cloud\_metadata: ~
- add\_docker\_metadata: ~
- add\_kubernetes\_metadata: ~

setup.ilm.overwrite: true  
\</\>

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 23, 2022, 10:45pm UTC](https://discuss.elastic.co/t/filebeat-error-fail-to-execute-the-http-get-request-get-https-172-30-169-50-5000-api-status-x509-certificate-signed-by-unknown-authority/308057/2 "2022-06-23T22:45:21Z")

</div>

Please format your code/logs/config using the `</>` button, or markdown style back ticks. It helps to make things easy to read which helps us help you 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 21, 2022, 10:45pm UTC](https://discuss.elastic.co/t/filebeat-error-fail-to-execute-the-http-get-request-get-https-172-30-169-50-5000-api-status-x509-certificate-signed-by-unknown-authority/308057/3 "2022-07-21T22:45:27Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
