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)

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 .