-
Notifications
You must be signed in to change notification settings - Fork 90
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
x509_certificate_info: add support to multiple certificate within a single file #542
Comments
I don't think it is a good idea to allow But what about the following:
WDYT? |
I've created a PR for a split_pem filter in #549. |
I started a WIP PR for more filter plugins in #550. |
Sorry for the late reply and thank you so much for taking it into consideration. Just one question, if pem file is in the remote machine, I understand something like slurp should be used before to get its content, and then pass it to the split_pem filter, right? |
Yes, something like that would be needed. |
SUMMARY
Allow for the community.crypto.x509_certificate_info module to be able to read multiple certificates from a single pem file. For example, certificates issued by Let's Encrypt with default configuration (without the usage of
--preferred-chain
), generate achain.pem
andfullchain.pem
files with 2 and 3 certificate inside respectively; such as:I'd be nice this module would be able to return a list o dict with the different certificates.
ISSUE TYPE
COMPONENT NAME
community.crypto.x509_certificate_info
ADDITIONAL INFORMATION
The text was updated successfully, but these errors were encountered: