'Load a node certificate from a specified path.
:param FilePath path: Directory where user certificate and key
files are stored.
:param bytes uuid: The UUID of the node.'

@classmethod
def from_path(cls, path, uuid):

    key_filename = '{uuid}.key'.format(uuid=uuid)
    cert_filename = '{uuid}.crt'.format(uuid=uuid)
    (keypair, certificate) = load_certificate_from_path(path, key_filename, cert_filename)
    credential = FlockerCredential(path=path, keypair=keypair, certificate=certificate)
    return cls(credential=credential)
