# Certgen Certificates for WinlogBeat

**URL:** <https://discuss.elastic.co/t/certgen-certificates-for-winlogbeat/103898>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [October 13, 2017, 12:52pm UTC](https://discuss.elastic.co/t/certgen-certificates-for-winlogbeat/103898 "2017-10-13T12:52:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MultiplierMultiplier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/multipliermultiplier/32/25063_2.png) [@MultiplierMultiplier](https://discuss.elastic.co/u/MultiplierMultiplier)\
**Post date:** [October 13, 2017, 12:52pm UTC](https://discuss.elastic.co/t/certgen-certificates-for-winlogbeat/103898/1 "2017-10-13T12:52:25Z")

</div>

I have just set up my first full Elastic Stack. I am now trying to get Windows Event logs from one of our test boxes, however the logs will be transported via the internet and therefore I need to set up TLS from WinLogBeat to Logstash.  
I am really struggling with the whole 'certificates' thing. I am using certgen to create my certificates. I have run certgen and created two folders in /etc/elasticsearch/x-pack, the first folder is called ca (certificate authority?) and the second is called Test (which I named). So I can create the certificates, but now where do I put them? Would I put the test certificate and key onto the WinLogBeat machine? and do I need to put a certificate onto Logstash?

Cheers,

G

---

<div class="post-metadata">

**Author:** ![MultiplierMultiplier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/multipliermultiplier/32/25063_2.png) [@MultiplierMultiplier](https://discuss.elastic.co/u/MultiplierMultiplier)\
**Post date:** [October 16, 2017, 8:17am UTC](https://discuss.elastic.co/t/certgen-certificates-for-winlogbeat/103898/2 "2017-10-16T08:17:41Z")

</div>

Can anyone please provide assistance?

Cheers,

G

---

<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:** [November 13, 2017, 8:17am UTC](https://discuss.elastic.co/t/certgen-certificates-for-winlogbeat/103898/3 "2017-11-13T08:17:44Z")

</div>

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