Auto-Converting PEM to PTL on DNCA Server
The DNCA can automatically generate a PTL file from a PEM file during startup.
About this task
After you have a PEM file, DNCA can generate the PTL for you.
Note: This process only works for PEM files without
password protection.
Procedure
- Copy the PEM file to the following directory:
/usr/local/dncauser/etc/capturekeys
Note: This process deletes the PEM file in this directory. Make sure that you retain a copy of it in another location. - Restart the Unica Discover Network Capture Application software.
- On startup, the DNCA auto-converts
the PEM to a PTL key. For example, if the file
myprivatekey.pem
generates a PTL key namedmyprivatekey.ptl
.- The PEM file (
myprivatekey.pem
) is deleted from the directory.
- The PEM file (
- To verify that the PTL key was properly loaded, review
the capture log file (
var/log/Discover/capture.log
). If the PTL is properly loaded, a message similar to the following must in the log:reassd[4681]: Autoloaded key file: /usr/local/dncauser/etc/capturekeys/myprivatekey.ptl
Results
Note: After you verify successful conversion, remove the
PEM files from the
capturekeys
directory. Whenever
the DNCA starts
or restarts, this directory is polled for files, and the files are
reconverted.