@classmethod
    def from_path(cls, path, uuid):
        key_filename = b"{uuid}.key".format(uuid=uuid)
        cert_filename = b"{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)
Load a node certificate from a specified path.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/ca/_ca.py/NodeCredential.from_path