cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error while adding a SSL key in wireshark for analyzing the packet capture.

akshay_shinde2
Inactive

Hello,

Has anyone came across could not load pkcs#12 in pem format base64 unexpected header error while adding a SSL key in wireshark for analyzing the packet capture?

Kindly help I want to check if key provided is correct or not.

BR,

AK

2 REPLIES 2

mike_hicks
Inactive

This normally indicates the key is an incompatible key format, pkcs#12 is a binary container, and so you need to make sure you have converted teh private key file in PKCS12 format to PEM format


matthew_eisengr
Inactive

Akshay, you can do this on the AMD with a few simple commands.

I think the command you are looking for is this one:

openssl pkcs12 -in keyStore.pfx -out keyStore.pem -nodes

Other common commands for key handling can be found here: https://www.sslshopper.com/article-most-common-ope...

Once converted, try loading the .pem version as Mike commented.