Electricmonk

Ferry Boender

Programmer, DevOpper, Open Source enthusiast.

Blog

Openvaz: Creating credentials is very slow [FIXED]

Friday, July 24th, 2015

When creating new credentials on Openvaz (6, 7 and 8), it takes a very long time to store the credentials.

The problem here is that the credentials are stored encrypted, and Openvaz (probably) has to generate a PGP key. This requires lots of random entropy, which is generally not abundantly available on a virtual machine. The solution is to install haveged:

sudo apt-get install haveged

Haveged will securely seed the random pool which will make a lot of random entropy available, even if you have no keyboard, mouse and soundcard attached. Ideal for VPSes.

The text of all posts on this blog, unless specificly mentioned otherwise, are licensed under this license.