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

Standardize SSL settings #165

Merged
merged 5 commits into from
Apr 5, 2023

Conversation

edmocosta
Copy link
Contributor

@edmocosta edmocosta commented Mar 31, 2023

What this PR does?

Added the following SSL settings

  • ssl_enabled: Enable/disable SSL
  • ssl_keystore_path: JKS keystore path
  • ssl_keystore_password: JKS keystore password
  • ssl_client_authentication: Controls the server’s behavior in regard to requesting a certificate from client connections

Reviewed and deprecated the following SSL settings to comply with Logstash's naming convention:

  • ssl in favor of ssl_enabled
  • ssl_verify_mode in favor of ssl_client_authentication
  • keystore in favor of ssl_keystore_path
  • keystore_password in favor of ssl_keystore_password

Other changes

The behavior standardization across plugins, such as the accepted certificate formats, default values, etc will be tackled in future PRs.


Closes elastic/logstash#14928

@edmocosta edmocosta changed the title [WIP] Standardize SSL settings Standardize SSL settings Apr 3, 2023
@edmocosta edmocosta marked this pull request as ready for review April 3, 2023 13:13
@roaksoax roaksoax requested a review from andsel April 3, 2023 15:19
Copy link
Contributor

@andsel andsel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments to improve, but we are quite close to the finish.

@edmocosta edmocosta requested a review from andsel April 5, 2023 08:22
Copy link
Contributor

@andsel andsel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@edmocosta edmocosta merged commit fe4b4b4 into logstash-plugins:main Apr 5, 2023
@edmocosta edmocosta deleted the standardize_ssl_settings branch April 5, 2023 13:20
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.

Logstash - Plugins - SSL Settings Standardization - Standardize HTTP INPUT settings
3 participants