1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

java slow : entropy related issue

Discussão em 'StackOverflow' iniciado por Stack, Junho 17, 2021.

  1. Stack

    Stack Membro Participativo

    I am running into an issue where java is slow when used over SSL. The solution is to add
    -Djava.security.egd=file:/dev/./urandom
    to java at the command line. Since I have multiple JVM's, I dont want to modify every single JVM to contain this string and hence would like to add it to the file
    $JAVA_HOME/jre/lib/security/java.security

    Now, the java.security file already contains
    securerandom.source=file:/dev/urandom

    Two questions on this :

    1. Why and how is "/dev/urandom" different from "/dev/./urandom". Why doesnt java accept "/dev/urandom"
    2. For the JVM's that I have running, how can I tell whether they are using the correct urandmon device (vs random)

    Continue reading...

Compartilhe esta Página