Skip to content

Commit bbd9b27

Browse files
committed
netauth: default to keys/tls.pem for certificate from config
1 parent 2473b8e commit bbd9b27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netauth/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def with_config(cls, path: Path, **kwargs):
128128
tls = cfg.get("tls", {})
129129
token = cfg.get("token", {})
130130

131-
cert = Path(tls.get("certificate"))
131+
cert = Path(tls.get("certificate", "keys/tls.pem"))
132132
if not cert.is_absolute():
133133
cert = (path.parent / cert).absolute()
134134

0 commit comments

Comments
 (0)