-
Notifications
You must be signed in to change notification settings - Fork 41
Support mTLS #222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
themilchenko
wants to merge
3
commits into
master
Choose a base branch
from
themilchenko/support-mtls
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Support mTLS #222
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7fed070 to
b5f1cf3
Compare
Member
DifferentialOrange
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's wait for the default option feedback
b5f1cf3 to
0736446
Compare
DerekBum
approved these changes
Nov 7, 2025
0736446 to
444f181
Compare
By default server checked server and client certificates which should do with mTLS configuration. Since it is not expected behaviour, after the patch `ca_file` configuration won't ask for client certificates authorization. Closes #217
This patch allows to set a new `ssl_verify_client` option. It uses in pair with `ssl_ca_file` option and needs for client validation. It could have following values: * `off` (default one) means that no client's certs will be verified; * `on` means that server will verify client's certs; * `optional` means that server will verify client's certs only if it exist. This set of options was was built on top of the NGINX API (https://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_verify_client). In effect, this option forces the server to work with mutual TLS. Part of #207
Since http server supports a new `ssl_verify_client` option it is necessary to support it in role api as well. This patch introduces a new config parameter in httpd role with the same `ssl_verify_client` name. Closes #207
444f181 to
e583940
Compare
DifferentialOrange
approved these changes
Nov 11, 2025
|
|
||
| - Do not recreate server if it's address and port were not changed (#219). | ||
| - Server doesn't change after updating parameters on config reload (#216). | ||
| - **Breaking change**: Mutual TLS with `ca_file` option enabled (#217). |
Member
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
| - **Breaking change**: Mutual TLS with `ca_file` option enabled (#217). | |
| - **Breaking change**: Mutual TLS with `ca_file` option enabled by defaul (#217). |
Member
|
Fixed CI requiring removed job, see https://stackoverflow.com/a/78611313 for a guide |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch allows to set a new
ssl_verify_clientoption. It uses in pair withssl_ca_fileoption and needs for client validation. It could have following values:off(default one) means that no client's certs will be verified;onmeans that server will verify client's certs;optionalmeans that server will verify client's certs only if it exist.In effect, this option forces the server to work with mutual TLS.
The same parameter was supported for httpd role as well.
Closes #207
Closes #217