certificate_complete_chain: handle duplicate intermediate subjects (#403) (#405)

* Allow multiple intermediate CAs to have same subject.

* Add tests.

* Fix test name.

* Don't use CN for SAN.

* Make a bit more compatible.

* Include jinja2 compat for CentOS 6.

(cherry picked from commit 11a14543c8)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot]
2022-02-14 18:04:54 +01:00
committed by GitHub
parent d19faa1627
commit 2aa38fe247
8 changed files with 272 additions and 141 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- "certificate_complete_chain - allow multiple potential intermediate certificates to have the same subject (https://github.com/ansible-collections/community.crypto/issues/399, https://github.com/ansible-collections/community.crypto/pull/403)."