Adding PTL Files
You can manually add PTL files to your DNCA configuration
by editing the dcx-conf.xml
file.
About this task
To edit the configuration file to add PTL files:
Procedure
- Log on to the DNCA host machine as user root
and change to directory
/usr/local/dncauser/etc
. - Edit the DNCA configuration file
dcx-conf.xml
. - Look for the following line:
<CaptureKeys></CaptureKeys>
- If DNCA is already configured with PTL files,
the
<CaptureKeys>
and</CaptureKeys>
tags are on separate lines. - Add a
<CaptureKey>
entry for each PTL file between<CaptureKeys>
and</CaptureKeys>
. Each entry requires a label and the full pathname of the PTL file. For example, the<CaptureKey>
entry for a hypothetical PTL file named/usr/local/dncauser/etc/web1.ptl
would look like the following:<CaptureKey> <Label>Web1 Key </Label> <PrivateKeyFile>/usr/local/dncauser/etc/web1.ptl</PrivateKeyFile> </CaptureKey>
Below is an example of two
<CaptureKey>
entries configured on a DNCA host machine:<CaptureKeys> <CaptureKey> <Label>Web1 Key </Label> <PrivateKeyFile>/usr/local/dncauser/etc/web1.ptl</PrivateKeyFile> </CaptureKey> <CaptureKey> <Label>Web2 Key </Label> <PrivateKeyFile>/usr/local/dncauser/etc/web2.ptl</PrivateKeyFile> </CaptureKey> </CaptureKeys>
- Save changes to the configuration file and exit the editor.
- Restart the capture programs using the following commands:
./discover stop capture ./disocver start capture
- If capture fails to start, view
capture.log
to determine the reason. - Log on to the DNCA Web console with a Web browser and click the SSL Keys tab to view the PTL files you've configured.