Skip to content

Add optional TLS listener - #64

Merged
nresare merged 1 commit into
PortSwigger:mainfrom
nresare:optional-tls-listener
Aug 16, 2026
Merged

nresare merged 1 commit into
PortSwigger:mainfrom
nresare:optional-tls-listener

Conversation

@nresare

@nresare nresare commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add an optional [tls] configuration block with PEM certificate and private key paths
  • serve HTTPS through axum-server and rustls when TLS is configured while retaining HTTP by default
  • validate and document the new configuration

Validation

  • cargo fmt --all -- --check
  • cargo test --workspace --all-targets --no-default-features
  • cargo test --workspace --all-targets --all-features
  • cargo clippy --workspace --all-targets --all-features --no-deps
  • live HTTPS health request using a temporary certificate

Allow idcat to load PEM certificate and private key files from an optional TLS configuration block. Preserve the existing HTTP listener when TLS is not configured.
@nresare
nresare merged commit 7e6bd7b into PortSwigger:main Aug 16, 2026
2 checks passed
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.

1 participant