[ALUG] Entropy on virtual machines

Andreas Tauscher ta at geuka.net
Sat Dec 14 21:31:40 EAT 2013


is low.
I just faces the problem the regeneration of SSL parameters took ages.....
On virtual machines the randomness is low. Since all hardware is virtual
there is no real source for the random number generator of the kernel.
Install the rng-tools and add (Debian/Ubuntu) in /etc/default/rng-tools:
HRNGDEVICE=/dev/urandom
and restart the rng-tools.
Creating keys goes now really fast. It is speeding up it even on real
hardware if there is no hardware random numbers generator.

Andreas


More information about the Linux mailing list