You can use ssldump (it runs on top of libpcap).
ssldump -r <File_Name>.pcap -k <Key_File>.key -d host <IP_Address>
In the ssldump utility ssldump you specify the following parameters:
-r: Read data from the <File_Name>.pcap file instead of from the network. -k: Use <Key_File>.key file as the location for the SSL keyfile. -d: Display the application data traffic.
You can refer to the full example here
source share