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

HI ,

AM trying to open a file which have got tls handshake messages and data further. My Intention was to decrypt the TLS data. Our data is directly below TCP like (TCP--TLS--data).

Steps followed:

  1. Opened the file
  2. Edit-preference-protocol-ssl-,4444,ssl,/home/dh/openssl/device.key
  3. Followed the TCP stream - still the data is not decrypted.

AM using version 1.0.15 with GnuTLS 1.4.1, with Gcrypt 1.4.4.

This is the command i used ,

[[email protected] ~]# tshark -o "ssl.desegment_ssl_records: TRUE" -o "ssl.desegment_ssl_application_data: TRUE" -o "ssl.keys_list:,4444,http,/home/amanimar/openssl/device.key" -o "ssl.debug_file:/root/ssl.log" tcp port 4444 -w /root/packet.pcap.

Please Help Help

asked 23 May '16, 06:22

dhanish's gravatar image

accept rate: 0%

edited 23 May '16, 23:32

Below is the ssl.log :

cat ssl.log ssl_init keys string:,4444,http,/home/amanimar/openssl/device.key ssl_init found host entry,4444,http,/home/amanimar/openssl/device.key ssl_init addr '' port '4444' filename '/home/amanimar/openssl/device.key' password(only for p12 file) '(null)' Private key imported: KeyID 83:33:D6:6E:68:A3:76:09:1E:C4:D9:DE:41:3A:AA:95:... ssl_init private key file /home/amanimar/openssl/device.key successfully loaded association_add TCP port 4444 protocol http handle 0x2b48f5246c40 association_find: TCP port 993 found 0x2b48f5a205b0 ssl_association_remove removing TCP 993 - imap handle 0x2b48f5265350 association_add TCP port 993 protocol imap handle 0x2b48f5265350 association_find: TCP port 995 found 0x2b48f5a20620 ssl_association_remove removing TCP 995 - pop handle 0x2b48f53e3160 association_add TCP port 995 protocol pop handle 0x2b48f53e3160 [[email protected] ~]#

(23 May '16, 23:31) dhanish

Your comment has been edited to use the correct format for code or text output to make it easier to read.

(24 May '16, 03:30) grahamb ♦
Be the first one to answer this question!
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: 23 May '16, 06:22

question was seen: 849 times

last updated: 24 May '16, 03:30

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