Troubleshooting smart card issues for Key Protect Dedicated

Use this topic to diagnose and resolve common issues when using smart cards with Key Protect Dedicated.

Why is my smart card reader not detected?

A command reports that the smart card reader is not connected even though the reader is physically attached to the system.

The USB reader might not be properly recognized by the operating system, the operating system version might not be supported, or on Windows, the device driver might not be installed.

  1. Disconnect the USB cable from the smart card reader, reconnect it, and retry the command.

  2. Verify that your operating system and architecture are listed in the Supported platforms for smart card operations.

    For example, macOS is supported up to macOS Tahoe, and Windows ARM64 is not supported.

  3. On Windows systems, verify that the CyberJack One driver is installed. If the driver is not installed, see Installing the CyberJack One driver on Windows.

Why does PPD fail to start with a port conflict?

PPD fails to start or returns an error when you try to run it.

The configured port is already in use — either by a previously running PPD process or another application.

Complete the following steps to identify and stop the process that is occupying the port, and then restart PPD.

  1. Check which process is occupying the PPD port (default 6070):

    For Linux and macOS:

    lsof -i :<PORT>
    

    For Windows:

    netstat -ano | findstr :<PORT>
    

    Where <PORT> is the PPD port number (default 6070).

  2. Kill the process occupying the port:

    For Linux and macOS:

    kill <PID>
    

    For Windows:

    taskkill /PID <PID> /F
    

    Where <PID> is the process ID returned in the previous step.

  3. Retry starting PPD.

  4. If PPD still fails to start, change the port number in ppd.cfg to a free port, then rerun PPD. Update the port field in your smart card JSON config file to match the new port.

Why can't I connect to a remote PPD?

A command cannot reach a remote PPD instance.

The PPD port might not be reachable from your system due to PPD not running, SSH not being enabled, or a firewall blocking the port.

Verify that the PPD port is reachable from your system before running smart card commands.

For Linux and macOS:

nc -zv <PPD_HOST> <PPD_PORT>

Where:

  • <PPD_HOST> is the IP address or hostname of the system where PPD is running.
  • <PPD_PORT> is the port PPD is listening on (default 6070).

A successful response confirms the port is open. If the connection fails, verify that PPD is running on the remote system, that SSH is enabled, and that no firewall is blocking the port.