You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The community.crypto.openssl_pkcs12 seems to generate files that can't be imported on some older systems. Specifically it seems to default to using SHA256 which is good idea generally but doesn't seem to be supported on some older systems.
Not really sure if there is enough demand for this to be worth fixing, but I figured I would add the issue since it might at lease document the problem for someone else.
$ openssl pkcs12 -in legacy-host.example.org.p12 -info
Enter Import Password:
MAC: sha256, Iteration 2048
MAC length: 32, salt length: 8
PKCS7 Data
Certificate bag
Bag Attributes
If I want a file that works on my old system I can run a have to run a command like this.
SUMMARY
The community.crypto.openssl_pkcs12 seems to generate files that can't be imported on some older systems. Specifically it seems to default to using SHA256 which is good idea generally but doesn't seem to be supported on some older systems.
Not really sure if there is enough demand for this to be worth fixing, but I figured I would add the issue since it might at lease document the problem for someone else.
ISSUE TYPE
COMPONENT NAME
community.crypto.openssl_pkcs12
ANSIBLE VERSION
COLLECTION VERSION
OS / ENVIRONMENT
Task is being executed on localhost which has ansible installed via pip in an env. The host is running on Debian 11
STEPS TO REPRODUCE
If I have a task like this
Will give me a file like this
If I want a file that works on my old system I can run a have to run a command like this.
Which gives me this, which can be imported
The text was updated successfully, but these errors were encountered: