Skip to content

Add TLS version parameters for start_wsgi_server#1178

Open
vyzigold wants to merge 1 commit into
prometheus:masterfrom
vyzigold:tls-versions
Open

Add TLS version parameters for start_wsgi_server#1178
vyzigold wants to merge 1 commit into
prometheus:masterfrom
vyzigold:tls-versions

Conversation

@vyzigold
Copy link
Copy Markdown

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.

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.

Signed-off-by: Jaromir Wysoglad <jwysogla@redhat.com>
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