fix(cert_manager): check host on SNI callback
Python Lint CI / ruff (push) Successful in 1m22s
Python Lint CI / ruff-format-check (push) Successful in 1m23s
Python Lint CI / ty (push) Successful in 1m23s
Docker CI / docker-build (push) Successful in 2m27s
Python Test CI / coverage (push) Successful in 3m4s

This commit is contained in:
2026-06-02 22:05:16 +02:00
parent ea63c4eeb9
commit 66f7879c0f
+1 -1
View File
@@ -192,7 +192,7 @@ class CertManager:
_: ssl.SSLSocket,
/,
) -> None | int:
if host is None:
if host is None or not valid_host(host):
return None
self.logger.debug("servername callback: %s", host)
if not self.exists(host) and not self.create_or_update(host):