Rulebase fetch failed: Unsecured request made of secure agent

Rulebase fetch failed: Unsecured request made of secure agent

book

Article ID: KB0079188

calendar_today

Updated On:

Products Versions
TIBCO Hawk ALL

Description

When Security model is enabled in HawkAgent and when you try to access rulebase/microagents from Hawk webconsole or Hawk display you may get below error in console:
Rulebase fetch failed: Unsecured request made of secure agent

Also In Hawk.log you will see below error :

ERROR : RemoteAccessServer.processRequest(), request type=invoke, exception:COM.TIBCO.hawk.talon.MicroAgentException: Unsecured request made of secure agent ## Fri Apr 06 15:22:49 IST 2018 ##
 

Issue/Introduction

When trying to access rulebase/microagent from HawkDisplay /Hawk Webconsole getting error as Rulebase fetch failed: Unsecured request made of secure agent

Environment

OS:ALL

Resolution

While you use hawk webconsole/Display for accessing to the hawkagent, please make sure hawk webconsole was configured with the security as well.You will see the this configuration in <hawk_installation_home>\webconsole\tomcat\webapps\hawkwebconsole\WEB-INF\conf\DomainTransportCfg.xml

If you are using security_policy in hawkagent as :

COM.TIBCO.hawk.security.trusted.Trusted 

then add           <hk:SecurityPolicy>COM.TIBCO.hawk.security.trusted.Trusted</hk:SecurityPolicy> for DomainTransportCfg.xml.


For HawkDisplay set the security policy in hawkdisplay.cfg as below:

-security_policy COM.TIBCO.hawk.security.trusted.Trusted

Please contact TIBCO Hawk Support if have any issue / questions with regard to trusted security model.

 

Additional Information

TIB_hawk_5.2.0_installation.pdf > Chapter 4 TIBCO Hawk Security Model >