Wireshark-users: Re: [Wireshark-users] tshark option to decrypt SSL?
From: Sake Blok <sake@xxxxxxxxxx>
Date: Thu, 9 Sep 2010 18:03:47 +0200
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