Wireshark-users: Re: [Wireshark-users] can't load private key from /root/foo.pem
From: Ryan Zuidema <ryan.zuidema@xxxxxxxxxxx>
Date: Thu, 21 Jan 2010 11:23:01 -0700

"Thiago Moreira (timba)" <tmoreira2020@xxxxxxxxx> wrote:

>  Thank you Sake! The error message has gone away.
>
>  But I'm still not able to see the header of http in a plain text. I'm
>using the context menu "Decode As.." to decode the encrypted packet but no
>success! Any clue?
>
>  Thanks
>
>On Mon, Jan 18, 2010 at 6:48 PM, Sake Blok <sake@xxxxxxxxxx> wrote:
>
>>  The file /root/foo.pem probably contains both the certificate and the
>> key. You should delete the part with the certificate. Or you could use the
>> following openssl command:
>>
>> openssl pkcs12 -in foo.p12 -out foo.pem *-nodes -nocerts*
>> **
>> Hope this helps,
>> Cheers,
>>      Sake
>>
>>
>>  ----- Original Message -----
>> *From:* Thiago Moreira (timba) <tmoreira2020@xxxxxxxxx>
>> *To:* wireshark-users@xxxxxxxxxxxxx
>> *Sent:* Monday, January 18, 2010 8:12 PM
>> *Subject:* [Wireshark-users] can't load private key from /root/foo.pem
>>
>>    Hi there,
>>
>>   I'm facing the following error when adding a private key to the "RSA key
>> list" field on Wireshark preferences.
>>
>>   can't load private key from /root/foo.pem
>>
>>   The key was generated by $JAVA_HOME/bin/keytool and then I used the
>> following commands to export it to a PEM format
>>
>>   keytool -importkeystore -srckeystore .keystore    -destkeystore foo.p12
>>  -srcstoretype jks    -deststoretype pkcs12
>>  openssl pkcs12 -in foo.p12 -out foo.pem
>>
>>   My question is how can I find out what is going on? Is there any debug
>> flag that can use to help me find out the issue?
>>
>>   Thanks in advance
>>
>>   Thiago Moreira
>>
>>   ------------------------------
>>
>> ___________________________________________________________________________
>> Sent via:    Wireshark-users mailing list <wireshark-users@xxxxxxxxxxxxx>
>> Archives:    http://www.wireshark.org/lists/wireshark-users
>> Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
>>              mailto:wireshark-users-request@xxxxxxxxxxxxx
>> ?subject=unsubscribe
>>
>>
>> ___________________________________________________________________________
>> Sent via:    Wireshark-users mailing list <wireshark-users@xxxxxxxxxxxxx>
>> Archives:    http://www.wireshark.org/lists/wireshark-users
>> Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
>>             mailto:wireshark-users-request@xxxxxxxxxxxxx
>> ?subject=unsubscribe
>>
>
>___________________________________________________________________________
>Sent via:    Wireshark-users mailing list <wireshark-users@xxxxxxxxxxxxx>
>Archives:    http://www.wireshark.org/lists/wireshark-users
>Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
>             mailto:wireshark-users-request@xxxxxxxxxxxxx?subject=unsubscribe