Skip to content

get_certificate: add get_certificate_chain option - #784

Merged
felixfontein merged 3 commits into
ansible-collections:mainfrom
felixfontein:get_certificate-chain
Jul 10, 2024
Merged

felixfontein merged 3 commits into
ansible-collections:mainfrom
felixfontein:get_certificate-chain

Conversation

@felixfontein

Copy link
Copy Markdown
Contributor
SUMMARY

Fixes #568.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

get_certificate

@github-actions

github-actions Bot commented Jul 9, 2024 •

Copy link
Copy Markdown

Docs Build 📝

Thank you for contribution!✨

This PR has been merged and the docs are now incorporated into main:
https://ansible-collections.github.io/community.crypto/branch/main

@felixfontein

Copy link
Copy Markdown
Contributor Author

It looks like the Python 3.13 API is somewhat broken, which makes the tests fail: python/cpython#118658

There is a fix for it already: python/cpython#118669

@felixfontein

Copy link
Copy Markdown
Contributor Author

It might be worth to include a similar hack as in https://github.com/pypa/pip/pull/12707/files#diff-5c235fa5de9ea9d116494690fc0e484c45501486f276649200c7e612c2477f88R285 to fix the Python 3.13 issues.

@felixfontein

felixfontein commented Jul 10, 2024 •

Copy link
Copy Markdown
Contributor Author

ede3e54 makes tests pass with the current Python 3.13 pre-releases. It should also work fine once the bug has been fixed.

@felixfontein
felixfontein merged commit d50c3cc into ansible-collections:main Jul 10, 2024
@felixfontein
felixfontein deleted the get_certificate-chain branch July 10, 2024 19:51
@felixfontein

Copy link
Copy Markdown
Contributor Author

@markuman thanks for reviewing this!

felixfontein added a commit that referenced this pull request Jul 11, 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

Successfully merging this pull request may close these issues.

Get a certificate chain with crypto.get_certificate module

2 participants