Wireshark-users: Re: [Wireshark-users] tshark option to decrypt SSL?

From: James Hozier <guitarscn1@xxxxxxxxx>
Date: Thu, 9 Sep 2010 09:13:46 -0700 (PDT)
> From: Sake Blok <sake@xxxxxxxxxx>
> Subject: Re: [Wireshark-users] tshark option to decrypt SSL?
> To: "Community support list for Wireshark" <wireshark-users@xxxxxxxxxxxxx>
> 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...