SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

文件路径  /usr/local/java/jre/lib/security/java.security 

 

# The entropy gathering device can also be specified with the System
# property "java.security.egd". For example:
#
#   % java -Djava.security.egd=file:/dev/random MainClass
#
# Specifying this System property will override the
# "securerandom.source" Security property.
#
# In addition, if "file:/dev/random" or "file:/dev/urandom" is
# specified, the "NativePRNG" implementation will be more preferred than
# SHA1PRNG in the Sun provider.
#
#securerandom.source=file:/dev/random

securerandom.source=file:/dev/./urandom

注释 securerandom.source=file:/dev/random  添加一行 securerandom.source=file:/dev/./urandom

 

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄