# Copy ssl certificate from centOS 7 to windows for beats

**URL:** <https://discuss.elastic.co/t/copy-ssl-certificate-from-centos-7-to-windows-for-beats/48756>\
**Category:** Logstash\
**Created:** [April 29, 2016, 2:09am UTC](https://discuss.elastic.co/t/copy-ssl-certificate-from-centos-7-to-windows-for-beats/48756 "2016-04-29T02:09:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kennedy\_Kan1](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@Kennedy\_Kan1](https://discuss.elastic.co/u/Kennedy_Kan1)\
**Post date:** [April 29, 2016, 2:09am UTC](https://discuss.elastic.co/t/copy-ssl-certificate-from-centos-7-to-windows-for-beats/48756/1 "2016-04-29T02:09:22Z")

</div>

I have copied ssl certificate from te ELK server, set up on cent OS 7, with this command

scp /etc/pki/tls/certs/logstash-forwarder.crt user@client\_server\_private\_address:/tmp  
but then how should I place it into the Windows 2012 r2?

Thanks.

---

<div class="post-metadata">

**Author:** ![mnhan](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@mnhan](https://discuss.elastic.co/u/mnhan)\
**Post date:** [April 29, 2016, 12:31pm UTC](https://discuss.elastic.co/t/copy-ssl-certificate-from-centos-7-to-windows-for-beats/48756/2 "2016-04-29T12:31:57Z")

</div>

if there is an sshd daemon running on the winddows 2012 r2 box, then:  
scp logstash-forwarder.crt user@windows-r2:/

on widows machine, move the crt to a secure location, in the filebeat.yml point filebeat to where the crt resides.

If you can push the crt to the window box using ssh, the go on the windows box and winscp to the the centos7 box and pull the cert. then put where you want and point filebeat to it

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 1, 2016, 1:30am UTC](https://discuss.elastic.co/t/copy-ssl-certificate-from-centos-7-to-windows-for-beats/48756/3 "2016-05-01T01:30:15Z")

</div>

Please don't use the LS Forwarder, it is deprecated and will be unsupported at some point soon.  
Use Filebeat instead.

---

<div class="post-metadata">

**Author:** ![Kennedy\_Kan1](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@Kennedy\_Kan1](https://discuss.elastic.co/u/Kennedy_Kan1)\
**Post date:** [May 1, 2016, 2:15am UTC](https://discuss.elastic.co/t/copy-ssl-certificate-from-centos-7-to-windows-for-beats/48756/4 "2016-05-01T02:15:34Z")

</div>

So how should I configure filebeat instead

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 1, 2016, 2:20am UTC](https://discuss.elastic.co/t/copy-ssl-certificate-from-centos-7-to-windows-for-beats/48756/5 "2016-05-01T02:20:12Z")

</div>

Start here - [https://www.elastic.co/guide/en/beats/filebeat/current/index.html](https://www.elastic.co/guide/en/beats/filebeat/current/index.html)  
Then ask any questions in the Beats section!

---

<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, 4:59am UTC](https://discuss.elastic.co/t/copy-ssl-certificate-from-centos-7-to-windows-for-beats/48756/6 "2017-07-06T04:59:48Z")

</div>


