# Can't figure out how to use certificates correctly

**URL:** <https://discuss.elastic.co/t/cant-figure-out-how-to-use-certificates-correctly/45949>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 31, 2016, 1:53pm UTC](https://discuss.elastic.co/t/cant-figure-out-how-to-use-certificates-correctly/45949 "2016-03-31T13:53:55Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [April 4, 2016, 1:54pm UTC](https://discuss.elastic.co/t/cant-figure-out-how-to-use-certificates-correctly/45949/5 "2016-04-04T13:54:58Z")

</div>

> [@muhamadli302](#):
>
> the target machine actively refused it

This is most often caused by a firewall or anti-virus. It could be on same machine running Filebeat, the network in between, or on the ES server.

You can test the HTTP HEAD request that Filebeat uses independent of Filebeat by running the command given [here](https://discuss.elastic.co/t/winlogbeat-transport-problem-on-port-80-through-reverse-proxy-to-elasticsearch/40965/6).

---

_[View the full topic](https://discuss.elastic.co/t/cant-figure-out-how-to-use-certificates-correctly/45949)._
