This is our old Q&A Site. Please post any new questions and answers at

I'm on CentOS 6.4 and followed the instructions at in order to get wireshark 1.12.4 running. the installation seems to be successful and tshark -v shows version 1.12.4.

when I run the command

tshark -r mypcap.pcapng -o "ssl.keylog_file:keylog.txt" -qz follow,ssl,ascii,1 > ""

i get the error

tshark -o "ssl.keylog_file:keylog.txt" unknown preference

did I miss something? why is the preference unknown?

asked 21 May '15, 04:18

divadpoc's gravatar image

accept rate: 0%

Show us all of the tshark -v output. Does it include support for SSL?

(21 May '15, 06:12) Jaap ♦

I think I figured it out, with the help from

I added the following dependencies:

yum install -y gnutls gnutls-devel openssl openssl-devel crypto-utils

and had to call configure with "--with-ssl"

./configure --with-gtk2 --with-ssl

If I got something wrong please correct me, but for now it's working

permanent link

answered 21 May '15, 06:18

divadpoc's gravatar image

accept rate: 0%

Yeah, that should do it. Except that you don't (AFAIK) need openssl/openssl-devel/--with-ssl . gnutls is sufficient.

(21 May '15, 07:41) JeffMorriss ♦

So your initial build was without SSL support, therefore that instance of tshark did not understand the preference ssl.keylog_file. This is because the code that registers that preference does not get build when the required conditions are not met, ie. the build is not configured for the required libraries.

(21 May '15, 07:46) Jaap ♦

thanks for the infos. @JeffMorriss I'll try without openssl at some point. @Jaap, I didn't know I had to tell him explicitly that I want --with-ssl

(28 May '15, 00:05) divadpoc
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 21 May '15, 04:18

question was seen: 1,841 times

last updated: 28 May '15, 00:05

p​o​w​e​r​e​d by O​S​Q​A