-
Notifications
You must be signed in to change notification settings - Fork 88
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
certificate_complete_chain fails with multiple intermediates with same CN (and same root) #399
Labels
bug
Something isn't working
Comments
Right now the module's code assumes that no two intermediate certificates have the same subject. If two of them have, it will use the latter one added to its internal certificate set. That's why case C works, while case D does not. |
I've implemented a fix in #403. |
Excellent, thank you! I'll give a try on Monday! |
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SUMMARY
The module apparently can't find its way when there are multiple intermediate CA candidates with identical CN (and probably being issued by an unique root).
Maybe I am not understanding the module correctly, but I have a test case which could clarify things.
ISSUE TYPE
COMPONENT NAME
certificate_complete_chain
ANSIBLE VERSION
COLLECTION VERSION
STEPS TO REPRODUCE
The text was updated successfully, but these errors were encountered: