Skip to content
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

Use number for verify depth #913

Merged
merged 2 commits into from
Oct 22, 2020
Merged

Use number for verify depth #913

merged 2 commits into from
Oct 22, 2020

Conversation

rainest
Copy link
Contributor

@rainest rainest commented Oct 19, 2020

What this PR does / why we need it:
Doc is incorrect and will prevent Kong from starting because it tries to use a bool for an int setting. This fixes it with a reasonable value for most environments.

Use an arbitrary number (3) for the verify depth. This is fine for the
vast majority of certificate chains. The default (1) is a bit low, and
causes issues with multiple intermediates. The current value, "on", is
definitely wrong, as this setting only accepts a number.
@mflendrich mflendrich merged commit da53cb4 into main Oct 22, 2020
@mflendrich mflendrich deleted the fix/mtls-verify-depth branch October 22, 2020 12:46
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.

2 participants