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

[7.17] Respect --pass option in certutil csr mode #109834

Conversation

tvernum
Copy link
Contributor

@tvernum tvernum commented Jun 18, 2024

elasticsearch-certutil csr generates a private key and a certificate signing request (CSR) file.
It has always accepted the "--pass" command line option, but ignored it and always generated an unencrypted private key.

This commit fixes the utility so the --pass option is respected and the private key is encrypted.

Backport of: #106105

elasticsearch-certutil csr generates a private key and a certificate
signing request (CSR) file. It has always accepted the "--pass" command
line option, but ignore it and always generated an unencrypted private
key.

This commit fixes the utility so the --pass option is respected and the
private key is encrypted.

Backport of: elastic#106105
@tvernum tvernum added >bug :Security/TLS SSL/TLS, Certificates backport labels Jun 18, 2024
@tvernum tvernum added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Jun 18, 2024
@elasticsearchmachine elasticsearchmachine merged commit 07296d5 into elastic:7.17 Jun 18, 2024
10 checks passed
@tvernum tvernum deleted the backport/7.17/106105-Respect-pass-option-in branch June 18, 2024 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug :Security/TLS SSL/TLS, Certificates v7.17.23
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants