sprig
sprig copied to clipboard
[FEATURE REQUEST] Support generating password protected PEM private keys
Could a new param be added to support this?
For context, I tried to use genSelfSignedCert
to generate keys for Kafka and was unable to load them because Kafka requires that the private key be password protected.
As it stands, I will need to look at generating them through a different mechanism than Sprig.
FWIW, the error in question is as follows:
org.apache.kafka.common.errors.InvalidConfigurationException: SSL PEM key store is specified, but key password is not specified.
ref: https://codingharbour.com/apache-kafka/using-pem-certificates-with-apache-kafka https://www.mail-archive.com/[email protected]/msg39577.html https://serverfault.com/questions/628921/how-do-i-know-if-pem-is-password-protected-using-ssh-keygen/628980#628980