Please explain the instructions: http://jsslkeylog.sourceforge.net/

  • First, download jSSLKeyLog and extract it. Where?

  • Locate the command line used to launch the Java program (usually hidden in some script or bat file) you want to control, it will look, as a rule. Is this a normal command line?

    How to do it correctly, without points?

     java ... -jar file.jar ... 

    or

     Java ... some.class.Name ... 
  • Now add an extra parameter immediately after the name of the Java command that

     -javaagent: jSSLKeyLog.jar = / путь / к / your_logfile.log 

    so the complete team looks like this:

     java -javaagent: jSSLKeyLog.jar = / путь / к / your_logfile.log ... -jar file.jar 
  • You can give an absolute or relative path to jSSLKeyLog.jar and to your log file.

  • Comments are not intended for extended discussion; conversation moved to chat . - Nick Volynkin
  • The author, when you formulate a question with a verb in the imperative mood (“explain the instruction”), it sounds like an order. Don't do that, it's impolite. - Nick Volynkin

1 answer 1

1) Unpack the downloaded zip archive, where it is convenient for you, I unpacked it into the C:\ drive, and rename the extracted folder so as not to be confused from jSSLKeyLog in SSLFolder

2) Click Start + R, write CMD, click OK

3) Enter the SSLFolder directory: C:\Users\ArtGrek>cd c:\SSLFolder\ click enter

4) We write: c:\SSLFolder>java -javaagent:jsslkeylog.jar=sslkeylog.log -jar jsslkeylog.jar

Do not put extra spaces

I have issued such a message, as I understand it, this is normal

Logging all SSL session keys to: sslkeylog.log

no main manifest attribute, in jsslkeylog.jar