-
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
openssl_certificate_info cannot open "TRUSTED CERTIFICATE" #138
Comments
Do you actually use a module from this collection? Your reproducer doesn't have an FQCN. |
That might also come from Ansible 2.9, which contains older versions of these modules. It is always helpful to know which versions of the modules are actually used. And also which version of cryptography is used. In any case, see https://cryptography.io/en/latest/faq.html#why-can-t-i-import-my-pem-file (I created pyca/cryptography#5552 to fix the URLs). Anyway, you need to file the bug here: https://github.com/pyca/cryptography/issues/new The problem is obviously coming from cryptography, not from our modules. |
The reproducing script also refers to |
I created #139 to improve the error handling in this case (i.e. fail the module instead of crashing). |
Cygwin:
Debian 10 in WSL (also reproduced):
|
Here: I've read:
Looks like it is an |
I generated self-signed trusted (means with
-trustout
) certificate andopenssl_certificate_info
is unable to load it:The certificate contains prelude / epilogue:
after I altered those lines by stripping
TRUSTED
it is able to work with certificate.Self contained reproduction script:
The text was updated successfully, but these errors were encountered: