Skip to content

feat: only allow API server connections over HTTPS - #80

Merged
rsclarke merged 1 commit into
mainfrom
feat/79-api-server-https-only
Feb 2, 2026
Merged

rsclarke merged 1 commit into
mainfrom
feat/79-api-server-https-only

Conversation

@rsclarke

@rsclarke rsclarke commented Feb 2, 2026

Copy link
Copy Markdown
Owner

Summary

The API server now requires TLS and is only started when HTTPS is enabled (via ACME or manual certificates).

Changes

  • API server startup moved after TLS config is established
  • API server shares the same TLS configuration as the HTTPS server
  • Default API port changed from 8081 to 8443
  • CLI --api-url now required (no default)
  • When --no-acme is used without manual TLS certs, the API server is disabled with a warning

Notes

The HTTP server on port 80 remains available for ACME HTTP-01 challenges (IP certificate issuing), which is unaffected since it's a separate listener.

Closes #79

The API server now requires TLS and is only started when HTTPS is
enabled (via ACME or manual certificates). When --no-acme is used
without manual TLS certs, the API server is disabled with a warning.

The API server shares the same TLS configuration as the HTTPS server,
ensuring that IP certificates obtained via HTTP-01 challenge on port 80
continue to work correctly.

- API server startup moved after TLS config is established
- Default API port changed from 8081 to 8443
- CLI --api-url now required (no default)
- Documentation updated to reflect HTTPS requirement

Closes #79
@rsclarke
rsclarke merged commit 3f7e5f6 into main Feb 2, 2026
1 check passed
@rsclarke
rsclarke deleted the feat/79-api-server-https-only branch February 2, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Only allow API Server connections over HTTPS

1 participant