# Logstash unable to connect webservice using PKCS12 file

**URL:** <https://discuss.elastic.co/t/logstash-unable-to-connect-webservice-using-pkcs12-file/150557>\
**Category:** Logstash\
**Created:** [October 1, 2018, 11:03am UTC](https://discuss.elastic.co/t/logstash-unable-to-connect-webservice-using-pkcs12-file/150557 "2018-10-01T11:03:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Android\_Games](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/android_games/32/45618_2.png) [@Android\_Games](https://discuss.elastic.co/u/Android_Games)\
**Post date:** [October 1, 2018, 11:03am UTC](https://discuss.elastic.co/t/logstash-unable-to-connect-webservice-using-pkcs12-file/150557/1 "2018-10-01T11:03:50Z")

</div>

I'm trying to connect to XML web service using log stash, but its using PEM file credentials to connect web service

here's the config file

```
input {
 http_poller {
   urls => {
     myurl => "https://abc.com/SWS/incidents.asmx/GetSeverities"
   }
   codec => "plain"
   truststore => "SII.p12"
   truststore_type=> "PKCS12"
   truststore_password => "Pass"
   schedule => { cron => "* * * * * UTC"}
 }

}
filter {
}

output 
{
  elasticsearch 
  {
    index => "severity"
  }
}
```

---

<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:** [October 29, 2018, 11:03am UTC](https://discuss.elastic.co/t/logstash-unable-to-connect-webservice-using-pkcs12-file/150557/2 "2018-10-29T11:03:54Z")

</div>

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