From 54902be6e143bed7719e460afd66ac043d8bd722 Mon Sep 17 00:00:00 2001 From: Julien Mailleret <8582351+jmlrt@users.noreply.github.com> Date: Thu, 18 Jun 2020 10:44:40 +0200 Subject: [PATCH] [doc] remove pem certificate mention as it doesn't seem to be supported --- docs/index.asciidoc | 2 +- lib/logstash/outputs/elasticsearch.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.asciidoc b/docs/index.asciidoc index a8743aab8..d3eb8943b 100644 --- a/docs/index.asciidoc +++ b/docs/index.asciidoc @@ -333,7 +333,7 @@ this defaults to a concatenation of the path parameter and "_bulk" * Value type is <> * There is no default value for this setting. -The .cer or .pem file to validate the server's certificate +The .cer or .crt file to validate the server's certificate [id="plugins-{type}s-{plugin}-cloud_auth"] ===== `cloud_auth` diff --git a/lib/logstash/outputs/elasticsearch.rb b/lib/logstash/outputs/elasticsearch.rb index 5639bad3a..6c4d58e6b 100644 --- a/lib/logstash/outputs/elasticsearch.rb +++ b/lib/logstash/outputs/elasticsearch.rb @@ -156,7 +156,7 @@ class LogStash::Outputs::ElasticSearch < LogStash::Outputs::Base # https://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf config :ssl_certificate_verification, :validate => :boolean, :default => true - # The .cer or .pem file to validate the server's certificate + # The .cer or .crt file to validate the server's certificate config :cacert, :validate => :path # The JKS truststore to validate the server's certificate.