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

Hello,

I have a wireshark traffic file with AMQPS messages so encrypted with SSL/TLS. I have the private key in PEM format (RSA PRIVATE KEY) but I'm not able to create a new entry in the RSA key list because it warning me that dissector protocol 'amqp' on port 5671 isn't available. How can I decrypt AMQP traffic ?

Thanks, Paolo

asked 28 Aug '15, 07:27

ppatierno's gravatar image

ppatierno
6112
accept rate: 0%


in the latest development release (1.99.x), the AMPQ dissector adds itself to the ssl dissector with port 5671 (see packet-ampq.c - ssl_dissector_add), so this should be possible if you try it with 1.99.x. BTW: Wireshark 1.12.x does not have that code, you it won't work with 1.12.x! What is your Wireshark version?

See my answer to a similar question for some background information:

https://ask.wireshark.org/questions/20910/cannot-decrypt-fix-protocol-over-ssl

Regards
Kurt

permanent link

answered 28 Aug '15, 07:48

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 28 Aug '15, 08:14

I'm using 1.12.5

(28 Aug '15, 09:36) ppatierno

then it won't work. Please try 1.99.8

(28 Aug '15, 09:38) Kurt Knochner ♦

However I installed 1.99.8. I added the private key in the RSA key list without errors ... good. After loading the pcapng file with captured traffic I still see the encrypted traffic and not in clear ... it seems decryption isn't working. Do I need to execute some action ?

Thanks, Paolo

(28 Aug '15, 10:04) ppatierno

should work out of-the-box. Can you please provide the SSL debug file (see SSL preferences)? I guess you are using a cipher (DHE, DHCE), which cannot be decrypted with the RSA key.

(28 Aug '15, 10:12) Kurt Knochner ♦
Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×319
×75
×56
×5

question asked: 28 Aug '15, 07:27

question was seen: 2,224 times

last updated: 28 Aug '15, 10:12

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