def METHOD_NAME(protocol):
    (host, port) = listener
    cmd = ['openssl', 's_client', '-connect', '%s:%s' % (host, port),
           '-CAfile', cert_file, '-cert', cert_file, '-key', key_file,
           protocol]
    return commands.run(cmd)