Gap: No SSL/TLS verification configuration for self-signed certificates #9
Labels
No labels
blocked:gate-research
bug
feature-request
in-progress
needs-triage
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/vikunja-cli#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: Low
The requests Session used in
APIClient.__init__(bothvikunja_cli/api/client.pyandvikunjatool/api/client.py) does not expose any way to disable SSL verification or use custom CA bundles. Users running self-hosted Vikunja instances with self-signed or internal CA certificates cannot connect.There is no
--insecureflag,--ca-bundleoption, or environment variable support.Fix:
--insecure/--skip-verifyflag that setsverify=Falseon the Session--ca-bundleflag to specify a custom CA certificate pathREQUESTS_CA_BUNDLE/SSL_CERT_FILEenvironment variables (requests does this already, but it should be documented)This is especially important for a CLI targeting self-hosted instances, where custom TLS is common.
Fixed in commit. Closing.