Skip to content

Commit

Permalink
Doc: Update security docs to replace obsolete cacert setting (#16798)
Browse files Browse the repository at this point in the history
  • Loading branch information
karenzone authored Dec 16, 2024
1 parent e6e0f9f commit e1f4e77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/static/security/es-security.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ As always, there's a definite argument for consistency across deployments.
[[es-sec-plugin]]
==== Configure the elasticsearch output

Use the <<plugins-outputs-elasticsearch,`elasticsearch output`'s>> <<plugins-outputs-elasticsearch-cacert,`cacert` option>> to point to the certificate's location.
Use the <<plugins-outputs-elasticsearch,`elasticsearch output`'s>> <<plugins-outputs-elasticsearch-ssl_certificate_authorities,`ssl_certificate_authorities` option>> to point to the certificate's location.

**Example**

Expand All @@ -87,7 +87,7 @@ Use the <<plugins-outputs-elasticsearch,`elasticsearch output`'s>> <<plugins-out
output {
elasticsearch {
hosts => ["https://...] <1>
cacert => '/etc/logstash/config/certs/ca.crt' <2>
ssl_certificate_authorities => ['/etc/logstash/config/certs/ca.crt'] <2>
}
}
-------
Expand Down

0 comments on commit e1f4e77

Please sign in to comment.