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

  1. 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.
  2. Restart the Unica Discover Network Capture Application software.
  3. On startup, the DNCA auto-converts the PEM to a PTL key.
    For example, if the file myprivatekey.pem generates a PTL key named myprivatekey.ptl.
    • The PEM file (myprivatekey.pem) is deleted from the directory.
  4. 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.