CentOS 7下Java的SecureRandom种子初始化失败解决办法

io.netty.util.internal.ThreadLocalRandom getInitialSeedUniquifier
WARNING: Failed to generate a seed from SecureRandom within 3 seconds. Not enough entrophy?
当遇到上边提示信息时,可以安装rng-tools,然后

systemctl start rngd
systemctl enable rngd

posted @ 2017-10-31 16:08  jiftle  阅读(951)  评论(0编辑  收藏  举报