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

[Security] Provide an additional PKCS8 format version of the key by default for logstash/other use #29787

Open
elasticmachine opened this issue Jul 24, 2017 · 6 comments
Labels
>enhancement >feature :Security/TLS SSL/TLS, Certificates Team:Security Meta label for security team

Comments

@elasticmachine
Copy link
Collaborator

Original comment by @geekpete:

One less step for a user to have to run this:
openssl pkcs8 -in my-logstash-host.key -topk8 -nocrypt -out my-logstash-host.PKCS8.key

to be able to use the created key with Logstash, for example to configure encryption between Beats -> Logstash using the included Elasticsearch certgen tool to generate all the required ca/cert/keys.

@elasticmachine
Copy link
Collaborator Author

Original comment by @jakommo:

+1 on this. We still say in the docs that cert-gen can be used to generate the certs for beats/logstash, but do not mention that extra step.

@elasticmachine
Copy link
Collaborator Author

Original comment by @geekpete:

If we flip it around, what if logstash just supported the default certificate type created by certgen?

@elasticmachine
Copy link
Collaborator Author

Original comment by @jordansissel:

I don't know is this was not working before, but it works fine today. I tested Elasticsearch 6.1.1 x-pack's certgen and used the key+cert with Logstash beats input and the cert with Logstash lumberjack output. It works :)

@elasticmachine
Copy link
Collaborator Author

Original comment by @geekpete:

I'll see if this is still an issue...

@elasticmachine
Copy link
Collaborator Author

Original comment by @DaveCTurner:

@geekpete Is this still an issue? If not, could you close this? Thanks.

@elasticmachine
Copy link
Collaborator Author

Original comment by @jkakavas:

This could have been fixed on Logstash side, but nothing has changed on certgen , we still only generate PKCS#1 RSA private keys.

@rjernst rjernst added the Team:Security Meta label for security team label May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement >feature :Security/TLS SSL/TLS, Certificates Team:Security Meta label for security team
Projects
None yet
Development

No branches or pull requests

2 participants