Hi,
when we create an encrypted and compatible Logstash key, Logstash can not read the key and give the following error in log:
message=>"File does not contain valid private key: /etc/logstash/certs/logstash-pkcs8.key", :cause=>{:exception=>Java::JavaSecurity::NoSuchAlgorithmException, :message=>"PBES2 SecretKeyFactory not available"}
We generate the key using this command:
openssl pkcs8 -in input_key.key -topk8 -passin pass:password -out logstash.key -passout pass:password
When we generate the key without encryption -nocrypt, then is the key ok for Logstash and there is nor error in log.
Should we configure something extra to let Logstash accept the encryption of the key?