This error happens because the SDK installer does not install automatically any CAPKI libraries which are needed when you have to use the SM Test Tool. It works in the Policy Server, as this one installs the CAPKI libraries, so this will work in any machine where you have installed a component which installs the CAPKI libraries, like the Web Agent or Access Gateway(SPS). You can check this at the following location:
R12.52 SP1 - Known Issues - Installation of ETPKI Libraries
In order to solve this, you need to install the CAPKI (formerly ETPKI) libraries manually by using the installer included in the SDK path:
<SDK_install_path>/etpki-install (for 32 bit)
<SDK_install_path>/etpki-install-64 (for 64 bit)
Here, you need to run the setup tool included as follows:
setup install caller=smtesttool instdir=<install_path>
Where install_path will be the installation directory for the CAPKI libraries. Optionally, you can specify the verbose parameter so you will have some output files to warn you when the process is finishes, as the setup tool is a silent installer.
For Linux, optionally you can specify the following parameter to enable setting environment variables for the specified users:
none: do not set environment variables (default; it may require root privileges depending on the installation directory)
user: current user only ($HOME/.profile)
all : all users (for using this, login must be root).
- Note: If /etc/profile should not be updated as part of CAPKI installation (with env=all option), then Update_Profile=0 should be set in the environment before the installation of CAPKI.
After the command is triggered, you will see a tmp folder created in the destination path that will appear until the installation finishes. You can find a log file in the Windows temp folder (%TEMP%/capki_install.log) or for Linux in the /tmp folder (/tmp/capki_install.log). When finished, for Windows you will need to restart the machine so the new registry entries set are loaded.