SmRegHost.sh failing for custom agent host registration

Document ID : KB000046184
Last Modified Date : 14/02/2018
Show Technical Document Details

Issue

Getting the following errors when trying to run SmRegHost.sh on Linux to register a custom agent using FIPS only mode:

 

From custom agent running in debug mode:

11:22:55.948 [main] SMTRACE: SmConfigAttribute, decrypt, Attempting to decrypt input = SMTUNNEL

11:23:48.106 [main] SMTRACE: SmAgentTliSession, startFipsSession, Sending FIPS Client HELLO packet

 

The smps log shows:

[4932/3027307376][Thu Sep 01 2016 11:23:03][CServer.cpp:1786][INFO][sm-Server-01770] Closing accepted connection for session  # 1117 connection idle too long before handshake  

 

Notice the amount of time SmRegHost takes to decrypt input.

 

Environment: 

Policy Server: 12.52-SP1-CR05 on RH 6 

SDK: 12.52-SP1-CR05, 64-bit, Pure Java Agent API. 

 

Cause:

Not enough entropy on the system running SmRegHost.

 

Resolution/Workaround:

See Linux systems administrator to increase entropy on the machine running SmRegHost.