def set_ignore_certificate_errors(ignore: bool) -> dict:
    """Enable/disable whether all certificate errors should be ignored.

    Parameters
    ----------
    ignore: bool
            If true, all certificate errors will be ignored.

    **Experimental**
    """
    return {
        "method": "Security.setIgnoreCertificateErrors",
        "params": {"ignore": ignore},
    }