sprig icon indicating copy to clipboard operation
sprig copied to clipboard

[FEATURE REQUEST] Support generating password protected PEM private keys

Open frankgrimes97 opened this issue 2 years ago • 0 comments

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

frankgrimes97 avatar Sep 22 '22 19:09 frankgrimes97