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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load entire certificate chain from file #11

Merged
merged 1 commit into from
Apr 21, 2018

Conversation

MichaelDoyle
Copy link
Contributor

Reads in a certificate chain (cert + intermediate, etc) instead of just a single certificate. When using intermediate certificates, typically the server will need to present the intermediate along with it's own certificate.

You could also use the same approach for the CA (load multiple root certificates from a single file) but at least in our environment we want to trust a very specific root certificate, so I didn't look at that.

I am relatively new to Clojure (especially wrt Java interop), so please forgive me for any blaring mistakes. 馃榾

@aphyr
Copy link
Owner

aphyr commented Apr 20, 2018

Yeah, this looks good! Did you run the tests?

@MichaelDoyle
Copy link
Contributor Author

Cool. Ran the tests (as described in the README) and they look good. I've also run Riemann with these new changes, and verified everything is behaving the way I would expect.

@aphyr
Copy link
Owner

aphyr commented Apr 21, 2018

Great! I'll cut a new release and you'll be good to go. :)

@aphyr aphyr merged commit dc99acf into aphyr:master Apr 21, 2018
@aphyr
Copy link
Owner

aphyr commented Apr 21, 2018

OK! 1.0.3 out the door. :)

@MichaelDoyle MichaelDoyle deleted the certificate_chains branch April 23, 2018 03:23
@MichaelDoyle
Copy link
Contributor Author

That was super fast - many thanks!

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.

None yet

2 participants