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

Fix CNs in test certificates #3226

Merged
merged 2 commits into from
May 14, 2024

Conversation

gerzse
Copy link
Contributor

@gerzse gerzse commented May 9, 2024

Pull Request check-list

Please make sure to review and check all of these items:

  • Do tests and lints pass with this change?
  • Do the CI tests pass with this change (enable it first in your forked repo and wait for the github action build to finish)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
  • Is there an example added to the examples folder (if applicable)?
  • Was the change added to CHANGES file?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.

Description of change

The CNs in the test certificates (CA, server and client) were all the same, which is not right. Make them different.

Cleanup the Jupyter notebook that documents how SSL connections work. Make the code blocks actually run, by using the test certificates. Simplify a bit the OCSP examples, since they can't run anyway due to lack of OCSP in our test infrastructure, so they are rather informative.

Fixes #3217

The CNs in the test certificates (CA, server and client) were all the
same, which is not right. Make them different.

Cleanup the Jupyter notebook that documents how SSL connections work.
Make the code blocks actually run, by using the test certificates.
Simplify a bit the OCSP examples, since they can't run anyway due to
lack of OCSP in our test infrastructure, so they are rather informative.
@gerzse gerzse requested review from dvora-h and vladvildanov May 9, 2024 08:30
@gerzse gerzse force-pushed the fix-test-certificates-and-ssl-docs branch from c283a9e to 36833f5 Compare May 9, 2024 11:28
@gerzse gerzse force-pushed the fix-test-certificates-and-ssl-docs branch from 36833f5 to d6d354d Compare May 9, 2024 12:39
@gerzse gerzse merged commit 68d6d53 into redis:master May 14, 2024
46 checks passed
@gerzse gerzse added the bug Bug label May 14, 2024
@gerzse gerzse added maintenance Maintenance (CI, Releases, etc) and removed bug Bug labels Jun 6, 2024
gerzse added a commit to gerzse/redis-py that referenced this pull request Jul 11, 2024
The CNs in the test certificates (CA, server and client) were all the
same, which is not right. Make them different.

Cleanup the Jupyter notebook that documents how SSL connections work.
Make the code blocks actually run, by using the test certificates from
devenv. Simplify a bit the OCSP examples, since they can't run anyway,
due to lack of OCSP in our test infrastructure, so they are rather informative.

Co-authored-by: Gabriel Erzse <gabriel.erzse@redis.com>
gerzse added a commit that referenced this pull request Jul 11, 2024
The CNs in the test certificates (CA, server and client) were all the
same, which is not right. Make them different.

Cleanup the Jupyter notebook that documents how SSL connections work.
Make the code blocks actually run, by using the test certificates from
devenv. Simplify a bit the OCSP examples, since they can't run anyway,
due to lack of OCSP in our test infrastructure, so they are rather informative.

Co-authored-by: Gabriel Erzse <gabriel.erzse@redis.com>
vladvildanov pushed a commit that referenced this pull request Sep 27, 2024
The CNs in the test certificates (CA, server and client) were all the
same, which is not right. Make them different.

Cleanup the Jupyter notebook that documents how SSL connections work.
Make the code blocks actually run, by using the test certificates from
devenv. Simplify a bit the OCSP examples, since they can't run anyway,
due to lack of OCSP in our test infrastructure, so they are rather informative.

Co-authored-by: Gabriel Erzse <gabriel.erzse@redis.com>
vladvildanov pushed a commit that referenced this pull request Sep 27, 2024
The CNs in the test certificates (CA, server and client) were all the
same, which is not right. Make them different.

Cleanup the Jupyter notebook that documents how SSL connections work.
Make the code blocks actually run, by using the test certificates from
devenv. Simplify a bit the OCSP examples, since they can't run anyway,
due to lack of OCSP in our test infrastructure, so they are rather informative.

Co-authored-by: Gabriel Erzse <gabriel.erzse@redis.com>
vladvildanov pushed a commit that referenced this pull request Sep 27, 2024
The CNs in the test certificates (CA, server and client) were all the
same, which is not right. Make them different.

Cleanup the Jupyter notebook that documents how SSL connections work.
Make the code blocks actually run, by using the test certificates from
devenv. Simplify a bit the OCSP examples, since they can't run anyway,
due to lack of OCSP in our test infrastructure, so they are rather informative.

Co-authored-by: Gabriel Erzse <gabriel.erzse@redis.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Maintenance (CI, Releases, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError when running ssl example from documentation
2 participants