diff --git a/nyacme/config.py b/nyacme/config.py index f251660..bdd7606 100644 --- a/nyacme/config.py +++ b/nyacme/config.py @@ -131,7 +131,7 @@ def read_config(path: str | None) -> Config: # fill default secrets for domain in c.domains: info = c.domains[domain] - if info.secret is None: + if info.secret is None and info.handler != "http": if info.handler not in secrets: raise KeyError(f'"{info.handler}" not in secrets') info.secret = secrets[info.handler]