Issues Relating to urandom/random on Weblogic Server in Linux Environment

To generate random numbers, linux provides two devices /dev/random and /dev/urandom . /dev/random depends on the Entropy pool ( created by system activity and environmental noise from device drivers). If there isn’t sufficient Entroy, randon tends to block, which is where the problem lies.

/dev/urandom uses algorithmic way of generating the random numbers and since it depends on algorithm and not external factors, it is non-blocking type.

Since SSL Comunication requires generation of random numbers we might run into issues while using random.Some issues that I have encountered are

Connecting to Weblogic Server over SSL using WLST.

If there is not enough entropy, the request is blocked if we are using random.To owercome this issue we need to switch to urandom and use the following command line