Open
Description
SUMMARY
Can we make it possible to create / convert private key in DER format?
ISSUE TYPE
- Feature Idea
COMPONENT NAME
community.crypto.openssl_privatekey, and maybe community.crypto.openssl_privatekey_convert
ADDITIONAL INFORMATION
Java accepts private keys in DER. It doesn't have native support for PEM.
For example, I'm trying to create a client key / certificate for a PostgreSQL database server. The JDBC driver says "The key file must be in PKCS-12 or in PKCS-8 DER format." (https://jdbc.postgresql.org/documentation/use/)
Currently the module can generate PKCS-8 format, but it seems to be PEM always. It will be very helpful if the ansible module can directly generate a key in DER format, or at least support a conversion