certificate_complete_chain: handle duplicate intermediate subjects (#403)

* 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.
This commit is contained in:
Felix Fontein
2022-02-14 13:29:19 +01:00
committed by GitHub
parent 7e92f04c93
commit 11a14543c8
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)."