# How to provide \*.PFX in http\_poller

**URL:** <https://discuss.elastic.co/t/how-to-provide-pfx-in-http-poller/46179>\
**Category:** Logstash\
**Created:** [April 3, 2016, 6:45pm UTC](https://discuss.elastic.co/t/how-to-provide-pfx-in-http-poller/46179 "2016-04-03T18:45:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sameer\_Panicker](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@Sameer\_Panicker](https://discuss.elastic.co/u/Sameer_Panicker)\
**Post date:** [April 3, 2016, 6:45pm UTC](https://discuss.elastic.co/t/how-to-provide-pfx-in-http-poller/46179/1 "2016-04-03T18:45:09Z")

</div>

I am trying to connect to my HTTPS service. My logstash conf. works fine for the HTTP call, but throws an exception during the secured call i.e. with HTTPS.

Error: "PKIX path building failed: sun.security.provider.c  
ertpath.SunCertPathBuilderException: unable to find valid certification path to  
requested target",

It is unable to grab my cert. I have a PFX file named "MyCert.pfx" protected with a password "c123456". Had a look into various articles but couldnt find a fix for this.

Can any one let me know how can i achieve this?

---

<div class="post-metadata">

**Author:** ![Sameer\_Panicker](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@Sameer\_Panicker](https://discuss.elastic.co/u/Sameer_Panicker)\
**Post date:** [April 4, 2016, 7:18pm UTC](https://discuss.elastic.co/t/how-to-provide-pfx-in-http-poller/46179/2 "2016-04-04T19:18:06Z")

</div>

Any update on this please ?

---

<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 6, 2017, 5:04am UTC](https://discuss.elastic.co/t/how-to-provide-pfx-in-http-poller/46179/3 "2017-07-06T05:04:00Z")

</div>

Closed on July 6, 2017, 5:04am UTC


