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

[Question] Testing of custom certificates #159

Open
aepfli opened this issue Dec 4, 2024 · 1 comment
Open

[Question] Testing of custom certificates #159

aepfli opened this issue Dec 4, 2024 · 1 comment

Comments

@aepfli
Copy link
Member

aepfli commented Dec 4, 2024

We're supporting custom certificates for connection, which is a great feature. But testing whether it works is not as trivial.

For example, I am trying to implement custom certs in Python. I want to test this and ensure this feature works as expected with a custom cert. However, I can't do so, as we don't have the appropriate test setup.

I opened this issue to discuss approaches and what we can think of doing to ensure this feature works as intended.
My proposal (not sure if it is feasible) would be:

  • creating an own root CA
  • setting up an additional flagd-testbed image with just this one root.ca
  • Provide a certificate within the test-harness and use this in e2e tests for proper testing of the custom SSL certificate behavior.
  • We do not not even need to provide another gherkin file for this feature, we could simply create it with the existing ones

Question:

  • do you think my approach is feasible?
  • do you think we should provide such a docker image?
  • is it worth to put the effort into such a testing setup?
@aepfli
Copy link
Member Author

aepfli commented Dec 4, 2024

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

No branches or pull requests

1 participant