# Need help with SSL

**URL:** <https://discuss.elastic.co/t/need-help-with-ssl/36212>\
**Category:** Logstash\
**Created:** [December 2, 2015, 5:46pm UTC](https://discuss.elastic.co/t/need-help-with-ssl/36212 "2015-12-02T17:46:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CraigFoote](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/craigfoote/32/4571_2.png) [@CraigFoote](https://discuss.elastic.co/u/CraigFoote)\
**Post date:** [December 2, 2015, 5:46pm UTC](https://discuss.elastic.co/t/need-help-with-ssl/36212/1 "2015-12-02T17:46:01Z")

</div>

I'm using the tcp input plugin to ingest encrypted rsyslog logs but I can't get the SSL option to work. I have ssl\_enable set to true but I'm not sure what to do with the CRT file the owner of the logs provided me with. I've set it as the ssl\_cacert, ssl\_cert and ssl\_key but in each case I get the error:

```
Could not initialize SSL context {:exception+>#<TypeError: can't convert nil into String, etc.

```

Any help appreciated.

---

<div class="post-metadata">

**Author:** ![hector92](https://avatars.discourse-cdn.com/v4/letter/h/f1d935/32.png) [@hector92](https://discuss.elastic.co/u/hector92)\
**Post date:** [January 4, 2016, 10:20pm UTC](https://discuss.elastic.co/t/need-help-with-ssl/36212/2 "2016-01-04T22:20:23Z")

</div>

I am having the same issue. Are you running logstash as a service?

---

<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:16am UTC](https://discuss.elastic.co/t/need-help-with-ssl/36212/3 "2017-07-06T05:16:52Z")

</div>


