GSK trace

Any IBM i topic that does not fit in another forum
Post Reply
RBlanco
Posts: 1
Joined: Thu Jul 29, 2021 3:35 pm

GSK trace

Post by RBlanco »

Hi,

What is required to do a GSK trace?  I read the following information.

"In order to capture trace information using environment variables, the trace environment variables GSK_TRACE and GSK_TRACE_FILE must be exported before the start of the SSL application."

I tried the following commands before running the RPG program using GSK API's but it did not create a trace file.

ADDENVVAR ENVVAR(GSK_TRACE) VALUE('0xffff')
ADDENVVAR ENVVAR(GSK_TRACE_FILE) VALUE('/tmp/gskssl.%.trc')

Also, from what I read; a trace file must be formatted.  What is the corresponding IBM i command for the following command?  Or I need to run it in SSH terminal?

 gsktrace input_trace_file > output_trace_file

Thank you.
Post Reply