rest api endpoint keeps displaying credential popup

Document ID : KB000074324
Last Modified Date : 09/05/2018
Show Technical Document Details
Issue:
When accessing rest api endpoint in my chrome browser, it keeps displaying credential popup even though using administrator and its correct password.

for example, this is endpoint for testing purpose.
http://<ump host>/rest/alarms
Environment:
UIM 8.5.1
webservices_rest 8.5.1
browser is chrome
Cause:
security.cfg (located in <UIM>/hub) got corrupted.

when checking the file, "Web Service = 1" in <Superuser> section is missing.

This is required permission for user who wants to use web services.
Resolution:
1. Open Infrastructure Manager
2. Navigate distsrv probe on the primary UIM server.
3. With the distsrv probe highlighted, press "Ctrl-P" the probe Utility (pu) should appear.
4. In the probe commandset, select callback set_init_acl with the parameter value "base_acls.cfg".
The callback updates the security.cfg with default ACLs.
5. Try to access api endpoint.
Additional Information:
kb000033981 is another problem example caused by corrupted security.cfg

https://comm.support.ca.com/kb/maintenance-mode-options-do-not-show-in-usm/kb000033981