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

Add ca_file settings for all backends #447

Merged
merged 17 commits into from
Mar 23, 2022
Merged

Add ca_file settings for all backends #447

merged 17 commits into from
Mar 23, 2022

Conversation

malud
Copy link
Collaborator

@malud malud commented Feb 25, 2022

Option for adding the given PEM encoded ca-certificate to the existing system certificate pool for all outgoing connections.


Reviewer checklist
  • Read PR description: a summary about the changes is required
  • Changelog updated
  • Documentation: docs/{Reference, Cli, ...}, Docker and cli help/usage
  • Pulled branch, manually tested
  • Verified requirements are met
  • Reviewed the code
  • Reviewed the related tests

Copy link
Contributor

@filex filex left a comment

Choose a reason for hiding this comment

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

functional test was successful.

we should add logging of the used file at startup.

@malud malud requested a review from filex March 7, 2022 07:44
@malud malud marked this pull request as ready for review March 10, 2022 16:24
CHANGELOG.md Outdated Show resolved Hide resolved
@johakoch
Copy link
Collaborator

we should add logging of the used file at startup.

logging is now implemented:

level=info msg="configured with ca-certificate: /tmp/ca.cert2476670474"

Marcel Ludwig and others added 11 commits March 21, 2022 12:45
* use final outreq for url proto log

* fixup obsolete check

* changelog

* Add test

Fix hook entries call for other tests
* Test with `for` loops

* Fix happy cases with `for` loops

* changelog entry
* test for conditionals with non-boolean predicates; moved test for null here, because null is not boolean

* fix: check predicate value type; if predicate is not boolean, return original conditional expression to trigger and pass evaluation error

* changelog entry
Co-authored-by: Johannes Koch <53434855+johakoch@users.noreply.github.com>
server/tls.go Outdated Show resolved Hide resolved
Marcel Ludwig and others added 2 commits March 23, 2022 12:29
Co-authored-by: Johannes Koch <53434855+johakoch@users.noreply.github.com>
@johakoch johakoch merged commit 1f4e097 into master Mar 23, 2022
@johakoch johakoch deleted the feature/ca-file branch March 23, 2022 11:57
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.

3 participants