12.8sp6a Linux Policy Server in-place upgrade fails with TestCryptoConfig.sh and SetCryptoConfig.sh error as below:
failed.
COMMAND: sh /tmp/830711.tmp/TestCryptoConfig.sh
COMMAND: sh /tmp/830711.tmp/SetCryptoConfig.sh
When this error occurs, EncryptionKey.txt file or sm.registry may be overwritten/deleted, which causes Policy Server to never start again, and the same error will repeat during the upgrade.
Also, noticed /<policy_server_install_folder>/config/JVMOptions.txt may be gone and varies lib files were not fully deployed.
This error has repeated occurrence on Linux in-place upgrade use case in particular.
In the past, it often was due to .com.zerog.registry.xml file missing entry like <product name=""Symantec SiteMinder Policy Server"..., etc.
However, in this case, that was not the cause.
The original Policy Server installation location is something like /<policy_server_install_folder>. And when checking NETE_PS_ROOT, it points to /<policy_server_install_folder>.
12.8sp6 and 12.8sp6a installer requires SiteMinder install location should end with siteminder (case sensitive) folder.
To illustrate:
/<policy_server_install_folder>/siteminder
When the actual siteminder deployment folder is missing, the installer failed the upgrade midway.
Follow the below workaround steps:
Create a soft link to PolicyServer.
By following the above steps, the Policy Server in-place upgrade will be successful.