def METHOD_NAME(container):
    cur_dir = os.path.dirname(os.path.abspath(__file__))
    archive_path = os.path.join(cur_dir, CERTS_ARCHIVE)
    with open(archive_path, "wb") as f:
        bits, _ = container.get_archive('/var/lib/mysql')
        for chunk in bits:
            f.write(chunk)
    with tarfile.open(archive_path) as tf:
        tf.extractall(path=cur_dir)
    certs = get_certs()
    HANDLER_KWARGS["connection_data"].update(certs)