Extract a public key from an encrypted pcap (.p12) file for Shunra Analytics

Please try either of the following steps:

Download OpenSSL from: http://www.openssl.org/

1. Execute the commands from within the OpenSSL bin folder and use the full path for the private key files:

· Open the command line

· cd c:\OpenSSL-Win32\bin

· openssl pkcs12 -in <.p12 file> -out c:\temp\temp.pem -nodes -nocerts

· openssl rsa -in c:\temp\temp.pem -out c:\temp\p1wap1w7.pem

2. Execute the commands from any folder after adding the OpenSSL bin folder to the System Variables:

· Control Panel > System (or right click Computer and select Properties) > Advanced system settings > Advanced tab > Environment Variables > Select Path under System Variables > Edit > append ";c:\OpenSSL-Win32\bin" at the end of the Variable Value line > Select OK in the open dialogs.

· Open the command line (close and reopen if was already open)

· cd c:\temp

· openssl pkcs12 -in <.p12 file> -out temp.pem -nodes -nocerts

· openssl rsa -in temp.pem -out p1wap1w7.pem

This article applies to: Shunra Analytics 8.x


1 Comment

Leave a Reply to Akhila Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s