Trees | Indices | Help |
|
---|
|
Utility functions for security features of Ganeti.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Imports: logging, OpenSSL, os, uuid_module, time, io, x509, constants, errors, pathutils
|
Creates a new server SSL certificate and backups the old one.
|
Creates a new server SSL certificate and backups the old one.
|
Verifies a SSL certificate.
|
Checks whether the certificate issuer is the same as the owner. Note that this does not actually verify the signature, it simply compares the certificates common name and the issuer's common name. This is sufficient, because now that Ganeti started creating non-self-signed client-certificates, it uses their hostnames as common names and thus they are distinguishable by common name from the server certificates.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Apr 12 13:38:35 2016 | http://epydoc.sourceforge.net |