Does logstash output to elasticsearch support pkcs#12 certificate format?

@TimV - I have a elasticsearch certificate in .pfx format which i want to use in the logstash output config to elasticsearch like below. However it seems logstash does not support pkcs#12 format.

So, do i need to request for .pem or .cer format?

output {
		elasticsearch {
			user => logstash_internal
			password => kibana
			cacert => "<path-to-cert-elk.pfx>"
			hosts => ["https://abcd.org:9200/"]
			index => "logstash-abcd-*"	
		}
	}
}

Could someone please help me out here?

cacert support .cer or .pem
you can request different format or convert .pfx to cer or .pem with openssl commands.

here’s an example

thank you!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.