def METHOD_NAME(specificLocation=None):
    """Retrieve the host certificate files location.
    Lookup order:
    * ``specificLocation`` (probably broken, don't use it)
    * Environment variables (``DIRAC_X509_HOST_CERT`` and ``DIRAC_X509_HOST_KEY``)
    * CS (``/DIRAC/Security/CertFile`` and ``/DIRAC/Security/CertKey``)
    * Alternative exotic options, with ``prefix`` in  ``server``, ``host``, ``dirac``, ``service``:
      * in `<DIRAC rootpath>/etc/grid-security/` for ``<prefix>cert.pem`` and ``<prefix>key.pem``
      * in the path defined in the CS in ``/DIRAC/Security/Grid-Security``
    :param specificLocation: CS path to look for a the path to cert and key, which then should be the same.
                             Probably does not work, don't use it
    :returns: tuple ``(<cert location>, <key location>)`` or ``False``
    """
    fileDict = {}
    # First, check the environment variables
    for fileType, envVar in (("cert", "DIRAC_X509_HOST_CERT"), ("key", "DIRAC_X509_HOST_KEY")):
        if envVar in os.environ and os.path.exists(os.environ[envVar]):
            fileDict[fileType] = os.environ[envVar]
    for fileType in ("cert", "key"):
        # Check if we already have the info
        if fileType in fileDict:
            continue
        # Direct file in config
        retVal = gConfig.getOption(f"{g_SecurityConfPath}/{fileType.capitalize()}File")
        if retVal["OK"]:
            fileDict[fileType] = retVal["Value"]
            continue
        fileFound = False
        for filePrefix in ("server", "host", "dirac", "service"):
            # Possible grid-security's
            paths = []
            retVal = gConfig.getOption(f"{g_SecurityConfPath}/Grid-Security")
            if retVal["OK"]:
                paths.append(retVal["Value"])
            paths.append(f"{DIRAC.rootPath}/etc/grid-security/")
            for path in paths:
                filePath = os.path.realpath(f"{path}/{filePrefix}{fileType}.pem")
                if os.path.isfile(filePath):
                    fileDict[fileType] = filePath
                    fileFound = True
                    break
            if fileFound:
                break
    if "cert" not in fileDict or "key" not in fileDict:
        return False
    # we can specify a location outside /opt/dirac/etc/grid-security directory
    if specificLocation:
        fileDict["cert"] = gConfig.getValue(specificLocation, fileDict["cert"])
        fileDict["key"] = gConfig.getValue(specificLocation, fileDict["key"])
    return (fileDict["cert"], fileDict["key"])