Skip to content

A local-first personal finance app

docs: Add guide for self-signed SSL certificates in CLI (#7360)

Matiss Janis Aboltinsfc5f59809831
diff --git a/packages/docs/docs/api/cli.md b/packages/docs/docs/api/cli.md
index 24cbc55712..5c8e1f07b6 100644
--- a/packages/docs/docs/api/cli.md
+++ b/packages/docs/docs/api/cli.md
@@ -413,6 +413,25 @@ actual transactions list --account <id> --start 2026-01-01 --end 2026-12-31 --fo
actual transactions add --account <id> --data '[{"date":"2026-03-14","amount":-2500,"payee_name":"Coffee Shop"}]'
```
+## Self-Signed SSL Certificates
+
+If your Actual sync server uses a self-signed SSL certificate, the CLI will reject the connection by default. To allow connections with self-signed certificates, set the `NODE_TLS_REJECT_UNAUTHORIZED` environment variable:
+
+```bash
+NODE_TLS_REJECT_UNAUTHORIZED=0 actual budgets list
+```
+
+Or export it for the entire session:
+
+```bash
+export NODE_TLS_REJECT_UNAUTHORIZED=0
+actual budgets list
+```
+
+:::caution Security
+Setting `NODE_TLS_REJECT_UNAUTHORIZED=0` disables all TLS certificate verification, which makes the connection vulnerable to man-in-the-middle attacks. Only use this in trusted network environments where you control the server and understand the risks.
+:::
+
## Error Handling
- Non-zero exit codes indicate an error
diff --git a/upcoming-release-notes/7360.md b/upcoming-release-notes/7360.md
new file mode 100644
index 0000000000..9a714dd92f
--- /dev/null
+++ b/upcoming-release-notes/7360.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [MatissJanis]
+---
+
+Add documentation for bypassing self-signed SSL certificate verification in CLI usage.