Factorize code for checking node daemon certificate
authorMichael Hanselmann <hansmi@google.com>
Wed, 28 Nov 2012 11:17:27 +0000 (12:17 +0100)
committerMichael Hanselmann <hansmi@google.com>
Mon, 3 Dec 2012 14:33:36 +0000 (15:33 +0100)
commit0602cef3102c7870d157d789b6c83eb408566e94
tree49e4aa80e8b54452ebc908a8e0ecef72338abd25
parent686d24f08f16f5dddba9792f001157402df8cb3a
Factorize code for checking node daemon certificate

This code is going to be used by a new utility for setting up the node
daemon. Unit tests are updated/added.

Additionally, the certificate and key stored in “server.pem” are
verified, too.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
lib/tools/prepare_node_join.py
lib/utils/x509.py
test/ganeti.tools.prepare_node_join_unittest.py
test/ganeti.utils.x509_unittest.py