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

support multiple certificates per file #140

Merged
merged 1 commit into from
Mar 8, 2019

Conversation

jsvd
Copy link
Member

@jsvd jsvd commented Jan 18, 2019

This can be tested easily with the following script: https://gist.github.com/jsvd/b8d21abaf103bdfc7fe8b11008070a95

And then set the certificate chain authorities to the concatenation of the RootCA.crt and IntermediateCA.crt:

cat RootCA.crt IntermediateCA.crt > chain.crt

Copy link
Contributor

@yaauie yaauie left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏼

@yaauie
Copy link
Contributor

yaauie commented Jan 18, 2019

It looks like we have a build failure on 5.x due to a change in behaviour between the activated bouncycastles:

problem creating RSA private key: java.lang.IllegalArgumentException: failed to construct sequence from byte[]: Extra data detected in stream

@jsvd
Copy link
Member Author

jsvd commented Jan 18, 2019

It's a bug in the bouncy castle we ship in 5.6, the fix is in elastic/logstash#10192

@yaauie
Copy link
Contributor

yaauie commented Jan 18, 2019

Got it. And we only trigger the bug here, in this scenario that is already broken with the current release of the plugin? If so, then I don't see the harm in shipping as-is.

@yaauie yaauie assigned yaauie and unassigned elasticsearch-bot Jan 18, 2019
@jsvd jsvd merged commit fc317ea into logstash-plugins:master Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants