RRM getting 'unexpected Javascript error' when access Administrator Operations
2 years ago
Originally Published: 2012-01-06
Article Number
000043593
Applies To
RSA Registration Manager 6.8 build 520
RSA Registration Manager 6.8
RSA Registration Manager (RRM)
Sun Solaris 2.9
Issue
RRM getting "unexpected Javascript error" when access Administrator Operations

After authentication to the RM as an Administrator, select the "Administrator Operations" icon and receive the following errors:

"An unexpected Javascript error ('CA.global.active.certificate' is null or not an object) has occurred on line 24 of /ra/admin-navbar.html"https://<URL>/ra/admin-navbar.html <https://<URL>"

After clicking OK, I receive:

"An unexpected Javascript error ('adminURLOps' is undefined) has occurred on line 731 of /ra/admin-navbar.html"https://<URL>/ra/admin-navbar.html <https://<URL>"

Click OK, and then receive:

"An unexpected Javascript error ('vettorOps' is undefined) has occurred on line 737 of /ra/admin-navbar.html"https://<URL>/ra/admin-navbar.html <https://<URL>"

Click OK once more and receive:

"An unexpected Javascript error ('auditorOps' is undefined) has occurred on line 742 of /ra/admin-navbar.html"https://<URL>/ra/admin-navbar.html <https://<URL>"

Yet again

"An unexpected Javascript error ('rmjuriOpsRM' is undefined) has occurred on line 763 of /ra/admin-navbar.html"https://<URL>/ra/admin-navbar.html <https://<URL>"

And again

"An unexpected Javascript error ('manageOps' is undefined) has occurred on line 769 of /ra/admin-navbar.html"https://<URL>/ra/admin-navbar.html <https://<URL>"

And finally the last error

"An unexpected Javascript error ('manageCertificatesSO.0' is null or not an object) has occurred on line 543 of /ra/admin-navbar.html"https://<URL>/ra/admin-navbar.html <https://<URL>"

This only occurs when selecting the "Administrator Options" menu - all other menus (Certificate, System Config, and Auditor) appear to be working fine.


Cause

variable for CA_md5 is not configured n the RRM_HOME/WebServer/admin-server/ra/index.xuda file


Resolution

Found the variable "sentry.masterCA' and hard-coded CA_md5 in the RRM_HOME/WebServer/admin-server/ra/index.xuda file. The CA_md5 is the md5 of the target CA when the RR was installed.