Run script and review response codes
Now that your batch file contains the necessary commands to install and configure Trust Protection Foundation, you're ready to run the script (with elevated privileges) on each Trust Protection Foundation server. For example, with the batch file created in the previous sections, you could right-click on the file and select Run as Administrator.
Response codes
When running the command line configuration utility, you will get one of the following response codes after the configuration script runs. This list provides the response codes and a description of what the response code means, as well as the action you should take to remedy the situation.
|
Code |
Description |
Additional Information |
|---|---|---|
|
0 |
The Trust Protection Foundation configuration completed successfully |
|
|
1 |
The specified XML file could not be opened, or does not exist |
Check the spelling and directory information to ensure the file is in the specified location. |
|
2 |
An error occurred trying to process the XML file |
The XML answer file's password might be incorrect, or the XML file contains invalid syntax, or contains unexpected properties or values. |
|
3 |
The installation process failed |
|
|
4 |
The system could not detect the installation mode, or it is configured but its stored configuration cannot be read |
Starting in 25.3.6, |
|
5 |
The system is already up to date with the latest code. |
No action was taken. If this is unexpected, verify that you have the latest version of CyberArksoftware. |
|
6 |
TppConfiguration.exe was called without administrator rights. |
Your command prompt must have administrative permissions to complete this action. Run the command prompt as an administrator. |
|
100 |
TppConfiguration.exe encountered an unexpected failure (exception) |
Error details are written to the log file. Review the details and, if necessary, contact CyberArk Support. |
|
200 |
TppConfiguration.exe failed to add a third-party trusted signer. |
|
|
201 |
TppConfiguration.exe failed to remove a third-party trusted signer. |
|
|
202 |
TppConfiguration.exe failed to read the third-party DLL. |
|
|
401 |
TppConfiguration.exe failed to store the system HSM PIN on this server. |
Nothing was changed. Error details are written to the log file. Review the details and, if necessary, contact CyberArk Support. |
|
402 |
TppConfiguration.exe encountered an unexpected failure (exception) while storing the system HSM PIN on this server. |
Nothing was changed. Error details are written to the log file. Review the details and, if necessary, contact CyberArk Support. |
|
403 |
TppConfiguration could not open the HSM with the new system HSM pin, so nothing was changed. |
New in 25.3.6. IMPORTANT Every refused PIN counts toward the HSM's login lockout. Confirm the PIN before you run the command again. |
|
404 |
TppConfiguration stored the system HSM pin but failed to update the encryption driver. Correct the reported problem and run it again. |
New in 25.3.6. The server's own copy of the PIN was stored, but the HSM connectors in the configuration database were not updated, so the platform still cannot log in to the HSM. This code is also returned when the master administrator credentials you supplied are rejected, because Trust Protection Foundation checks them after it stores the server's copy. Correct the problem the command reports, then run the command again. Re-running is safe: connectors that already hold the new PIN are left alone. |