This is a static archive of our old Q&A Site. Please post any new questions and answers at

SSL Decryption Error


I keep getting a [Can't load private key from filename.pem.

Any idea what the problem is and how to resolve it?


asked 09 Oct '12, 00:57

Walter%20Benton's gravatar image

Walter Benton
accept rate: 0%

My current Wireshark version info is a follows:

Version 1.8.2 (SVN Rev 44520 from /trunk-1.8)

Copyright 1998-2012 Gerald Combs [email protected] and contributors. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (32-bit) with GTK+ 2.24.10, with Cairo 1.10.2, with Pango 1.30.0, with GLib 2.32.2, with WinPcap (4_1_2), with libz 1.2.5, without POSIX capabilities, with SMI 0.4.8, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS 2.12.18, with Gcrypt 1.4.6, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built Aug 15 2012), with AirPcap.

Running on 32-bit Windows 7 Service Pack 1, build 7601, with WinPcap version 4.1.2 (packet.dll version, based on libpcap version 1.0 branch 1_0_rel0b (20091008), GnuTLS 2.12.18, Gcrypt 1.4.6, without AirPcap.

Built using Microsoft Visual C++ 10.0 build 40219

Wireshark is Open Source Software released under the GNU General Public License.

Check the man page and for more information.


(09 Oct '12, 01:47) Walter Benton

One Answer:


Probably a wrong key format in the file. Either an encrypted key with the wrong passphrase or an invalid PEM encoding (char/line missing), etc. Please take a look at the SSL debug file. It will tell you more about the problem.

Edit -> Preferences -> Protocols -> SSL -> SSL debug file


answered 09 Oct '12, 10:06

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
accept rate: 15%