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>
Showing
- lib/tools/prepare_node_join.py 7 additions, 27 deletionslib/tools/prepare_node_join.py
- lib/utils/x509.py 58 additions, 0 deletionslib/utils/x509.py
- test/ganeti.tools.prepare_node_join_unittest.py 10 additions, 32 deletionstest/ganeti.tools.prepare_node_join_unittest.py
- test/ganeti.utils.x509_unittest.py 84 additions, 0 deletionstest/ganeti.utils.x509_unittest.py
Loading
Please register or sign in to comment