def load_certificate_from_path(path, key_filename, cert_filename):
    cert_path = path.child(cert_filename)
    key_path = path.child(key_filename)
    certificate = load_certificate_file(cert_path)
    keypair = load_key_file(key_path)
    return (keypair, certificate)
Load a certificate and keypair from a specified path.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/ca/_ca.py/load_certificate_from_path