While attempting WCC upgrade to R24.1, the setup fails at the step prompting for the EiamAdmin credentials for the associated EEM, returning the following error:
[CAUAJM_E_112111] An internal error occurred while interacting with the CA EEM server.EE_NOTALLOWED Operation not allowed
The EEM services are running, and EiamAdmin credentials hostname and configuration details have also been verified.
The installer log shows that during the install/upgrade process, a temporary cert is generated by EEM:
certificate: leave [retval : certificate]TRACE 2026-03-17T06:08:06,195 [main] [com.ca.eiam.SafeCache] submitEvent - Enter : args[DelieveryHost = wcc.example.com, Identity = EiamAdmin, Action = issueCertificate, Resource = WCC0004, ErrorCode = 0]TRACE 2026-03-17T06:08:06,196 [main] [com.ca.eiam.SafeContext] privAuthorizeWithSession - Enter : params[SafeSession session,Action=submit,ResuorceClass=SafeEvent,Resuorce=issueCertificate,List namedattrq,Date when,List identityq,Delegator=null,Locked=false,Debug=false,CheckOnly=false]TRACE 2026-03-17T06:08:06,196 [main] [com.ca.eiam.SafeCache] getMatchingPolicyQ - ExplicitDeny = true, Identity = EiamAdmin, Action = submit, ResourceClass = SafeEvent, Resource = issueCertificate, Return policyq size = 0TRACE 2026-03-17T06:08:06,197 [main] [com.ca.eiam.SafeCache] getMatchingPolicyQ - ExplicitDeny = false, Identity = EiamAdmin, Action = submit, ResourceClass = SafeEvent, Resource = issueCertificate, Return policyq size = 1TRACE 2026-03-17T06:08:06,197 [main] [com.ca.eiam.SafeContext] privAuthorizeWithSession - Leave : retval, Result trueTRACE 2026-03-17T06:08:06,197 [main] [com.ca.eiam.SafeCache] submitCustomEvent - Enter : args[DelieveryHost = wcc.example.com, object: SafeEvent]TRACE 2026-03-17T06:08:06,197 [main] [com.ca.eiam.SafeSAF] writeEventIntoSaf - Event stored in the saf file @ 750TRACE 2026-03-17T06:08:06,197 [main] [com.ca.eiam.SafeCache] submitCustomEvent - Leave : args[DelieveryHost = wcc.example.com, object: SafeEvent]TRACE 2026-03-17T06:08:06,197 [main] [com.ca.eiam.SafeCache] submitEvent - Leave : args[DelieveryHost = wcc.example.com, Identity = EiamAdmin, Action = issueCertificate, Resource = WCC0004, ErrorCode = 0]TRACE 2026-03-17T06:08:06,197 [main] [com.ca.eiam.SafeContext] issueCertificate: leave [retval: certificate]TRACE 2026-03-17T06:08:06,197 [m_evtthread] [com.ca.eiam.SafeSAF] getNextEventFromSaf - Read event from file. event length - 747TRACE 2026-03-17T06:08:06,204 [m_evtthread] [com.ca.eiam.SafeCache] sendoutEvents - Event successfully submitted to serverTRACE 2026-03-17T06:08:06,204 [m_evtthread] [com.ca.eiam.SafeSAF] updateIDX - Event successfully submitted to server.TRACE 2026-03-17T06:08:06,204 [m_evtthread] [com.ca.eiam.SafeSAF] getNextEventFromSaf - No new events retrieved, resetting inSaf file's position to 750DEBUG 2026-03-17T06:08:06,209 [main] [com.ca.eiam.SafeCertificateWriter] SafeCertificateWriter::writeToPEM: successfulDEBUG 2026-03-17T06:08:06,209 [main] [com.ca.eiam.SafeCertificateWriter] SafeCertificateWriter::writeToPEM: successful [certfile: /tmp/temp.key, keyfile: /tmp/temp.pem]
Which is then used to attach to EEM. However, the below denotes an error trying to attach to EEM using the newly generated cert.
TRACE 2026-03-17T06:08:06,305 [main] [com.ca.eiam.poz.PozFactory] addPozNode - Enter : params [poz_node=wcc.example.com]DEBUG 2026-03-17T06:08:06,305 [main] [com.ca.eiam.poz.PozFactory] addPozNode - poz_node=wcc.example.com, poz_nodes=[wcc.example.com]TRACE 2026-03-17T06:08:06,305 [main] [com.ca.eiam.poz.PozFactory] addPozNode - LeaveTRACE 2026-03-17T06:08:06,305 [main] [com.ca.eiam.poz.PozFactory] setProductInstance - Enter : params[ProductInstance=PozAdmin]TRACE 2026-03-17T06:08:06,305 [main] [com.ca.eiam.poz.PozFactory] setProductInstance - LeaveTRACE 2026-03-17T06:08:06,305 [main] [com.ca.eiam.poz.PozFactory] authenticateWithIclient - Enter : params[Iclient icl]TRACE 2026-03-17T06:08:06,308 [main] [com.ca.eiam.poz.PozFactory] authenticateWithIclient - Leave : retval=trueTRACE 2026-03-17T06:08:06,308 [main] [com.ca.eiam.poz.PozFactory] attachPoz - Enter INFO 2026-03-17T06:08:06,309 [main] [com.ca.eiam.poz.PozFactory] attachPoz - calling iclient.runMethod[Sponsor=iPoz,Method=ClientAttach] for host wcc.example.comDEBUG 2026-03-17T06:08:06,342 [main] [com.ca.eiam.poz.PozFactory] attachPoz - attach completed with ERROR 2026-03-17T06:08:06,343 [main] [com.ca.eiam.poz.PozFactory] attachPoz - exceptioncom.ca.eiam.poz.PozException: PozFactory.attach: unable to attach at com.ca.eiam.poz.PozFactory.attachPoz(PozFactory.java:402) [Safe.jar:?]
Under this scenario, the issue was due to Default Global Attach policy within EEM and was resolved by setting it to All identities
Finally, retry the upgrade