After enabling SSL for the Apache HTTPD component in SiteMinder CA Access Gateway (formerly Secure Proxy Server - SPS), the services fail to start. This issue occurs specifically when the SSL certificate key password contains special characters (such as the exclamation mark !).
Example Password: !abcd$#
Steps that lead to the failure:
CA Access Gateway (SPS) 12.8.x and above on Windows.
This issue is caused by the way the Windows Command Processor (cmd.exe) handles Delayed Variable Expansion.
When configssl.bat executes, the exclamation point (!) is interpreted by Windows as a delimiter for a variable rather than a literal character in the password (1)(2). This results in the password being truncated or incorrectly parsed before it is passed to the encryption utility, leading to an "Invalid Password" error or a corrupted ssl-password.conf file.
To resolve this, you must modify the configssl.bat script to temporarily disable delayed expansion while the password utility is running.
<SPS_INSTALL_HOME>\httpd\bin\:encryptpwd:: Disable Delayed Expansion to handle special characters like '!'setlocal DisableDelayedExpansion"%SPS_JAVA_HOME%\bin\java.exe" -classpath "%NETE_SPS_ROOT%\Tomcat\lib\proxyutils.jar;%NETE_SPS_ROOT%\Tomcat\lib\smi18n.jar;%CA_SPS_CP_RESOURCES%" com.netegrity.util.SSLUtil %2endlocalgoto doneconfigssl.bat –enable <your_password>