# Unable to implement ssl\_enable in Logstash

**URL:** <https://discuss.elastic.co/t/unable-to-implement-ssl-enable-in-logstash/255838>\
**Category:** Logstash\
**Created:** [November 18, 2020, 12:37pm UTC](https://discuss.elastic.co/t/unable-to-implement-ssl-enable-in-logstash/255838 "2020-11-18T12:37:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christer\_Palmen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christer_palmen/32/76857_2.png) [@Christer\_Palmen](https://discuss.elastic.co/u/Christer_Palmen)\
**Post date:** [November 18, 2020, 12:37pm UTC](https://discuss.elastic.co/t/unable-to-implement-ssl-enable-in-logstash/255838/1 "2020-11-18T12:37:48Z")

</div>

I have a Nxlog agent sending windows event with om\_tcp module to a Logstash without errors.  
Now I am trying to implement more secure forwarding with SSL, there was no issues with the Nxlog agent, just configured with the om\_ssl and restarted the service and nxlog agent got connection with the logstash at the other end.

Issues I have is with the Logstash because I can´t activate ssl\_enable in my config-file.  
Here´s what I wrote at the Input section:

input {  
tcp {  
codec =\> json\_lines { charset =\> CP1252 }  
port =\> "514"  
ssl\_enable =\> true  
ssl\_verify =\> false  
ssl\_cert =\> "/Elastic/logstash/cert/logstash-cert.cer"  
tags =\> ["tcpjson"]  
type =\> "nxlog"  
}  
}

And when I try to start the pipeline, it stop with these lines:

[2020-11-18T13:21:07,448][INFO][logstash.javapipeline][main] Pipeline terminated {"pipeline.id"=\>"main"}  
[2020-11-18T13:21:07,464][ERROR][logstash.agent] Failed to execute action {:id=\>:main, :action\_type=\>LogStash::ConvergeResult::FailedAction, :message=\>"Could not execute action: PipelineAction::Reload, action\_result: false", :backtrace=\>nil}

Please help

Chris

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [November 18, 2020, 3:00pm UTC](https://discuss.elastic.co/t/unable-to-implement-ssl-enable-in-logstash/255838/2 "2020-11-18T15:00:00Z")

</div>

Try enabling log.level debug and see if you get a more informative error message.

---

<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 16, 2020, 3:00pm UTC](https://discuss.elastic.co/t/unable-to-implement-ssl-enable-in-logstash/255838/3 "2020-12-16T15:00:18Z")

</div>

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