Skip to content

Add TLS version parameters for start_wsgi_server - #1178

Merged
csmarchbanks merged 1 commit into
prometheus:masterfrom
vyzigold:tls-versions
Jul 2, 2026
Merged

csmarchbanks merged 1 commit into
prometheus:masterfrom
vyzigold:tls-versions

Conversation

@vyzigold

Copy link
Copy Markdown
Contributor

This adds the tls_min_version and tls_max_version parameters for the start_wsgi_server (and start_http_server), allowing to restrict the min/max TLS version negotiated for accessing the server.

New unit tests under TestWsgiTLS were added, which test the version parameters as well as the rest of TLS capabilities for the start_wsgi_server (TLS on/off, mTLS), since those previously didn't have any test coverage.

@vyzigold