bootstrap: Add new function to create cluster certs and keys
authorMichael Hanselmann <hansmi@google.com>
Fri, 12 Mar 2010 10:49:47 +0000 (11:49 +0100)
committerMichael Hanselmann <hansmi@google.com>
Fri, 12 Mar 2010 15:44:57 +0000 (16:44 +0100)
commit43575108a016cca7f82942b4ad2370b38fa85030
tree46ab7207531b29dbbbc77ed718e49d040aeb6297
parent1d466a4f5d38b85d7f858cd743a3086578101512
bootstrap: Add new function to create cluster certs and keys

The code to generate cluster certificates, keys and secrets is currently
spread over several places. It makes sense to move it to a separate
function as we want to provide the user with the ability to automatically
replace all cluster certificates and keys.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/bootstrap.py