Hi folks,
I am facing following error and I am out of options to fix it:
[2021-08-10T14:43:44,743][ERROR][logstash.inputs.beats ][test_pipeline] SSL configuration invalid {:exception=>Java::JavaLang::IllegalArgumentException, :message=>"File does not contain valid private key: /path/to/server.pkcs8.key", :cause=>{:exception=>Java::JavaSecurity::NoSuchAlgorithmException, :message=>"1.2.840.113549.1.5.13 SecretKeyFactory not available"}}
[2021-08-10T14:43:44,938][ERROR][logstash.javapipeline ][test_pipeline] Pipeline error {:pipeline_id=>"test_pipeline", :exception=>#<LogStash::ConfigurationError: File does not contain valid private key: /path/to/server.pkcs8.key>, :backtrace=>[some backtrace]}
my pipeline input config:
input {
beats {
port => 6150
ssl => true
ssl_certificate_authorities => ["path/to/ca.crt"]
ssl_certificate => "path/to/server.crt"
ssl_key => "path/to/server.pkcs8.key"
ssl_key_passphrase => passphrase
ssl_verify_mode => "force_peer"
}
}
I am looking forward to any hint.
Thanks