# Packetbeat: Decode Https Traffic

**URL:** <https://discuss.elastic.co/t/packetbeat-decode-https-traffic/284194>\
**Category:** Beats\
**Tags:** packetbeat\
**Created:** [September 14, 2021, 2:23pm UTC](https://discuss.elastic.co/t/packetbeat-decode-https-traffic/284194 "2021-09-14T14:23:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Claudio\_Ract\_Costa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/claudio_ract_costa/32/26095_2.png) [@Claudio\_Ract\_Costa](https://discuss.elastic.co/u/Claudio_Ract_Costa)\
**Post date:** [September 14, 2021, 2:23pm UTC](https://discuss.elastic.co/t/packetbeat-decode-https-traffic/284194/1 "2021-09-14T14:23:50Z")

</div>

Hi Folks,

Is there any way to decode https/ssl traffic using packetbeat ?  
I have to server/client key do decode the traffic but i dont know how can i use it to decode the traffic.

Thks

---

<div class="post-metadata">

**Author:** ![legoguy1000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/legoguy1000/32/54301_2.png) [@legoguy1000](https://discuss.elastic.co/u/legoguy1000)\
**Post date:** [September 15, 2021, 12:22am UTC](https://discuss.elastic.co/t/packetbeat-decode-https-traffic/284194/2 "2021-09-15T00:22:46Z")

</div>

No, Packetbeat cannot do Man in the Middle. You would need a tool like squid proxy or another commerical tool.

---

<div class="post-metadata">

**Author:** ![Claudio\_Ract\_Costa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/claudio_ract_costa/32/26095_2.png) [@Claudio\_Ract\_Costa](https://discuss.elastic.co/u/Claudio_Ract_Costa)\
**Post date:** [September 15, 2021, 12:40am UTC](https://discuss.elastic.co/t/packetbeat-decode-https-traffic/284194/3 "2021-09-15T00:40:52Z")

</div>

Thanks @legoguy1000

Ps.: i hope packetbeat can do it in the future.

---

<div class="post-metadata">

**Author:** ![legoguy1000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/legoguy1000/32/54301_2.png) [@legoguy1000](https://discuss.elastic.co/u/legoguy1000)\
**Post date:** [September 15, 2021, 12:57am UTC](https://discuss.elastic.co/t/packetbeat-decode-https-traffic/284194/4 "2021-09-15T00:57:12Z")

</div>

I don't think it ever will. All packet beat does is listen on an interface in promiscuous mode. In order to do MITM, it's have to listen on a port and respond/forward requests.

---

<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 13, 2021, 2:57am UTC](https://discuss.elastic.co/t/packetbeat-decode-https-traffic/284194/5 "2021-10-13T02:57:22Z")

</div>

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