# Apache - tcpdump get HTTP and HTTPS Headers

**URL:** <https://community.unix.com/t/apache-tcpdump-get-http-and-https-headers/361169>\
**Category:** UNIX for Advanced & Expert Users\
**Created:** [June 28, 2016, 3:19am UTC](https://community.unix.com/t/apache-tcpdump-get-http-and-https-headers/361169 "2016-06-28T03:19:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![coolatt](https://community.unix.com/user_avatar/community.unix.com/coolatt/32/1380_2.png) [@coolatt](https://community.unix.com/u/coolatt)\
**Post date:** [June 28, 2016, 3:19am UTC](https://community.unix.com/t/apache-tcpdump-get-http-and-https-headers/361169/1 "2016-06-28T03:19:30Z")

</div>

Hello

I googled for "tcpdump view HOST http headers" -- that fine

However can we do same for HTTPS like after the HTTPS gets decrypted by Apache ?

I think this is legitimate on the server where the site is hosted since at some point the Apache itself needs to get the HOST patrameter in order to send the request to the correct VHOST

Regards  
coolatt

---

<div class="post-metadata">

**Author:** ![frank\_rizzo](https://community.unix.com/letter_avatar/frank_rizzo/32/6_449c533f586939b6e5f246632a46421f.png) [@frank\_rizzo](https://community.unix.com/u/frank_rizzo)\
**Post date:** [July 26, 2016, 11:04am UTC](https://community.unix.com/t/apache-tcpdump-get-http-and-https-headers/361169/2 "2016-07-26T11:04:40Z")

</div>

I am not sure if tcpdump supports this but you can with wireshark. You need the private key of course.
