Wireshark mailing list archives

Re: tshark option to decrypt SSL?


From: James Hozier <guitarscn1 () yahoo com>
Date: Thu, 9 Sep 2010 09:13:46 -0700 (PDT)

From: Sake Blok <sake () euronet nl>
Subject: Re: [Wireshark-users] tshark option to decrypt SSL?
To: "Community support list for Wireshark" <wireshark-users () wireshark org>
Date: Thursday, September 9, 2010, 4:03 PM
On 9 sep 2010, at 17:51, James Hozier
wrote:

I get the error: can't load private key from
/home/unreal/Unreal3.2/server.key.pem

Inside server.key.pem is:
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----

And between those lines is the private key. There is
nothing else.

Why can it not load? 

It should read:

-----BEGIN RSA PRIVATE KEY-----

You can use openssl to convert your key from PKCS#8 to
PKCS#1.

See:  http://www.wireshark.org/lists/wireshark-users/200911/msg00033.html

Cheers,


Sake


Hmmm...I did: $ openssl pkcs8 -in server.key.pem -out newserver.key.pem -nocrypt

And it ran with no errors or warnings, yet when I checked the newserver.key.pem file, it is exactly the same as the 
original server.key.pem and Wireshark cannot read it. Strange...


      

___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request () wireshark org?subject=unsubscribe


Current thread: