java.lang.InternalError: Unexpected CryptoAPI failure generating seed


Since we upgraded to version 2019.11 Patch: NNM201911_00005 of NNMi the tool stops polling nodes unexpectedly and goes into a critical status due to reporting the whole topology as stale collections. We raised the logging level to SEVERE and were able to catch the log entry highlighting the cause of the issue:

2022-03-10 07:16:31.216 SEVERE [com.hp.ov.nms.snmp.service.common.StagedSnmpServiceBase] Shutting down SNMP Service. Please restart NNM. Uncaught exception thrown for thread SEDA ThreadPool Thread -0 <RequestProcessor>: java.lang.InternalError: Unexpected CryptoAPI failure generating seed





               at org.bouncycastle.crypto.util.BasicEntropySourceProvider$1.getEntropy(Unknown Source)

               at org.bouncycastle.crypto.fips.ContinuousTestingEntropySource.getEntropy(Unknown Source)

               at org.bouncycastle.crypto.fips.HashSP800DRBG.getEntropy(Unknown Source)

               at org.bouncycastle.crypto.fips.HashSP800DRBG.reseed(Unknown Source)

               at org.bouncycastle.crypto.fips.HashSP800DRBG.generate(Unknown Source)

               at org.bouncycastle.crypto.fips.ContinuousTestingPseudoRNG.generate(Unknown Source)

               at org.bouncycastle.crypto.fips.DRBGPseudoRandom.generate(Unknown Source)

               at org.bouncycastle.crypto.fips.FipsSecureRandom$RandomSpi.engineNextBytes(Unknown Source)


               at org.bouncycastle.jcajce.provider.ProvRandom$1$1.engineNextBytes(Unknown Source)



               at java.util.Random.nextLong(

               at com.hp.ov.snmp.v3.AES.makeSalt(

               at com.hp.ov.snmp.v3.V3Message.encryptScopedPDU(

               at com.hp.ov.snmp.v3.V3Message.writeCompleteMessage(

               at com.hp.ov.snmp.v3.V3Message.write(

               at com.hp.ov.snmp.util.SnmpUtil.writeMessageToByteBuffer(

               at com.hp.ov.snmp.stages.RequestStageEventHandler.handleEvent(

               at com.hp.ov.snmp.stages.SedaStageEventHandler.handleEvents(

               at com.hp.ov.snmp.EventSecurityHandler.handleEvents(

               at seda.sandStorm.internal.TPSThreadManager$



MF support suggested to contact an oracle admin and were not helpful unfortunately, so I am opening a thread here. 

So far I have tried to add to %NNMDATADIR%\conf\nnm\ in DevEnv and the processes start successfully. What worries me is that there are a couple of files in both install and data dir. Here is a reference:

I tried to add securerandom.source=file:/dev/./urandom instead of the above as it was suggested by all threads I checked so far. The NNMi processes do not start after the change. Here is a reference:

If anyone can help me, it would be much appreciated. 

Kind regards, Mladen