def METHOD_NAME():
    """
    Acquires Pebble's ephemeral root certificate that when trusted implies trust
    to the ACME client's certificates. We can use the response of this function
    when we make web requests with the requests library.
        requests.get(..., verify=<True|False|path_to_certificate>)
    If HUB_URL is http:// return False since no certificate is required
    """
    if os.getenv("HUB_URL", "").startswith("http://"):
        return False
    # 'localhost' may resolve to an ipv6 address which may not be supported on older K3S
    # 127.0.0.1 is more reliable
    response = requests.get("https://127.0.0.1:32444/roots/0", verify=False, timeout=10)
    if not response.ok:
        return True
    base_dir = os.path.dirname(os.path.dirname(__file__))
    cert_path = os.path.join(base_dir, "ci/ephemeral-pebble-acme-ca.crt")
    with open(cert_path, "w+") as f:
        f.write(response.text)
    return cert_path