# Using http poller for https server

**URL:** https://discuss.elastic.co/t/using-http-poller-for-https-server/318648
**Category:** Logstash
**Created:** [November 10, 2022, 11:58am UTC](https://discuss.elastic.co/t/using-http-poller-for-https-server/318648 "2022-11-10T11:58:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![yuswanul](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yuswanul/32/101662_2.png) [@yuswanul](https://discuss.elastic.co/u/yuswanul)
#### Post date: [November 10, 2022, 11:58am UTC](https://discuss.elastic.co/t/using-http-poller-for-https-server/318648/1 "2022-11-10T11:58:38Z")

</div>

Hi there

i want to ask about http poller. so i test this plugin in my VM, and this is the configuration:

> input{  
> http\_poller{  
> urls =\> {  
> test =\> {  
> method =\> get  
> user =\> "elastic"  
> password =\> "myPassword"  
> url =\> "[https://192.168.11.10:9200/\_cluster/health](https://192.168.11.10:9200/_cluster/health)"  
> headers =\> {  
> Accept =\> "application/json"  
> }  
> }  
> }  
> cacert =\> "/elastic/elasticsearch-7.13.4/config/ca/ca.crt"  
> client\_cert =\> "/elastic/elasticsearch-7.13.4/config/node-1/node-1.crt"  
> request\_timeout =\> 60  
> connect\_timeout =\> 30  
> automatic\_retries =\> 3  
> schedule =\> { cron =\> "1 \* \* \* \* UTC"}  
> codec =\> "json"  
> }  
> }

but unfortunately the result of this configuration is nothing and there is no error at logstash log. do i have to define cacert and client\_cert at the other place? like inside the curly braces of the url or inside the curly braces of the test?

Thank 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: [December 8, 2022, 11:59am UTC](https://discuss.elastic.co/t/using-http-poller-for-https-server/318648/2 "2022-12-08T11:59:24Z")

</div>

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