-
Notifications
You must be signed in to change notification settings - Fork 15
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
Use plain string certificates #2596
Conversation
8cdc229
to
563c106
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wow, so much nicer 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a comment about default arguments but I think this is ready to ship
lib/trento/infrastructure/software_updates/adapter/suma_http_executor.ex
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
This PR enables using SUMA ca certificate as a plain string instead of a reference to a file in the filesystem.
Took inspiration from this post https://elixirforum.com/t/using-client-certificates-from-a-string-with-httposion/8631/7
How was this tested?
Current tests updated + manual tests.