use cacert path from function parameters

This commit is contained in:
2026-06-10 14:25:20 +02:00
parent a0dee43a37
commit 0c0ebe2ff1
+1 -1
View File
@@ -23,7 +23,7 @@ def auth(base_url: str | None, cert_path: str | None) -> str:
cacert = f"{cert_path}"
try:
token_result = subprocess.run(
['curl', '-s', '--cacert', CACERT,
['curl', '-s', '--cacert', cacert,
'--negotiate', '-u', ':',
'-X', 'POST', url,
'-d', 'username=&password=',