<Please see attached file for image>
Main Steps
NOTE: Take care with all path names.
The majority of faults are due to be files not in the right place, or a path name is mistyped.
1. The following .jar files are required.
Download this zip file from below URL:
http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
2. Unzip the contents into "~\CA\SC\JRE\1.8.0_112\lib\security"
The two key files are local_policy.jar and US_export_policy.jar.
Note: Backup the original files before replacing them.
3. Restart tomcat and verify the issue.
pdm_tomcat_nxd -c STOP
pdm_tomcat_nxd -c START
pdm_tomcat_nxd -c STATUS
Note that only a Tomcat restart is required.
It should not be necessary to restart either the CA SDM Windows Service or the server itself, in order to update the pkilogin use of the right security files.
Example:
C:\PROGRA~2\CA\SC\JRE>pdm_tomcat_nxd -c stop
C:\PROGRA~2\CA\SC\JRE>pdm_tomcat_nxd -c status
SERVICEDESK Tomcat was stopped on Wed Dec 12 15:47:14 AEDT 2018
C:\PROGRA~2\CA\SC\JRE>pdm_tomcat_nxd -c start
C:\PROGRA~2\CA\SC\JRE>pdm_tomcat_nxd -c status
SERVICEDESK Tomcat was stopped on Wed Dec 12 15:47:14 AEDT 2018
C:\PROGRA~2\CA\SC\JRE>pdm_tomcat_nxd -c status
SERVICEDESK Tomcat was started on Wed Dec 12 15:47:48 AEDT 2018
4. A successful use of pkilogin.htm to get to pkilogin.jsp will produce this result:
| |
Service Desk - Attempting to Login using PKI | |
| |
Created USD_WebServiceSoap object usd encryption o02fN0I9CNWlvMcTLaTxJCLMFzA7RnMlFGa3eS+khPhvko3kVI+HM6RR9C8wNzJ52EguYmqn+ /fWTJu1yGRGgvcsHHaI0epsypza7LtIOif0I9EhbdnINlTQXbFxsBgpwXvwBsxhbB8eDp6o2NFczFxXwI05hnKp4twiHel9ZjR9BU6ElLka31yLYVi2ic+ 7qyppA5Q22SVxNWe5B52332tgD5uTnagFJfd+WeBHMOYdHQHg9wx08dQ6c21i/hIW6s5o21jLfdLmb+98OVz6uDF91GFuVFIsIxOL5wIv6co3 UTPYphsV4i5bmyfhlsNUx3jjqkIioq8f02j+Hfje/g== Login was successful, got Session ID of '1503048669' Got user handle for ServiceDesk of 'cnt:16608F1FE9C4E2439CE5903B6CAD42C1' Got BOPSID for ServiceDesk of '912829542' Click here VERY SOON to login seamlessly using the BOPSID as user ServiceDesk Logout was successful |
5. TIP: You may edit the variables in pklogin.htm so that the following login screen contains the correct defaults and does not need to be edited each time:
Note: Change the values to those used by your system. For example, the default accessPolicy is "DEFAULT", but you may wish to create your own named policy such as "LUMA_POLICY".
<td><input type=text id=server name=server value="localhost"></td>
<td><input type=text id=port name=port value="8080"></td>
<td><input type=text id=dir name=dir value="C:\Program Files (x86)\CA\Service Desk Manager\bopcfg\www\CATALINA_BASE\webapps\axis"></td>
<td><input type=text id=accessPolicy name=accessPolicy value="DEFAULT"></td>
<td><input type=text id=userId name=userId value="ServiceDesk"></td>
<td><input type=text id=protocol name=protocol value="http"></td>
The above values produce this PKI Login page:
<Please see attached file for image>
Created USD_WebServiceSoap object usd Error Message: exception decrypting data - java.lang.NullPointerException Additional Details: org.bouncycastle.jcajce.provider.ProvIOException: exception decrypting data - java.lang.NullPointerException
2. The pkilogin.htm (and therefore pkilogin.jsp) files expect to find the .jar files in the path specified in the \lib\security\ folder at the location of the CA SDM NX.env file variable: NX_JRE_INSTALL_DIR
Example:
The NX.env variable is set as follows:
@NX_JRE_INSTALL_DIR=C:/Program Files (x86)/CA/SC/JRE/1.8.0_112
Therefore the .jar files from the download should be placed here:
C:/Program Files (x86)/CA/SC/JRE/1.8.0_112/lib/security/
NOTES:
| |
Service Desk - Attempting to Login using PKI | |
| |
Created USD_WebServiceSoap object usd Error Message: C:\Program Files (x86)\CA\Service Desk Manager\bopcfg\www\CATALINA_BASE\webapps\axis\DEFAULT.p12 (The system cannot find the file specified) Additional Details: java.io.FileNotFoundException: C:\Program Files (x86)\CA\Service Desk Manager\bopcfg\www\CATALINA_BASE\webapps\axis\DEFAULT.p12 (The system cannot find the file specified) |