Skip to content

Commit

Permalink
support for using TLS only as transport and not client auth (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
verterok authored Aug 10, 2022
1 parent 3446581 commit cb299c6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion templates/filebeat-5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ output:
worker: 1
compression_level: 3
loadbalance: true
{% if logstash_ssl_cert and logstash_ssl_key -%}
{% if logstash_ssl_cert -%}
ssl.certificate_authorities: ["/etc/ssl/certs/filebeat-logstash.crt"]
{%- endif %}
{% if logstash_ssl_cert and logstash_ssl_key -%}
ssl.certificate: "/etc/ssl/certs/filebeat-logstash.crt"
ssl.key: "/etc/ssl/private/filebeat-logstash.key"
{%- endif %}
Expand Down
4 changes: 3 additions & 1 deletion templates/filebeat-6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,10 @@ output:
worker: 1
compression_level: 3
loadbalance: true
{% if logstash_ssl_cert and logstash_ssl_key -%}
{% if logstash_ssl_cert -%}
ssl.certificate_authorities: ["/etc/ssl/certs/filebeat-logstash.crt"]
{%- endif %}
{% if logstash_ssl_cert and logstash_ssl_key -%}
ssl.certificate: "/etc/ssl/certs/filebeat-logstash.crt"
ssl.key: "/etc/ssl/private/filebeat-logstash.key"
{%- endif %}
Expand Down
4 changes: 3 additions & 1 deletion templates/filebeat-7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@ output:
worker: 1
compression_level: 3
loadbalance: true
{% if logstash_ssl_cert and logstash_ssl_key -%}
{% if logstash_ssl_cert -%}
ssl.certificate_authorities: ["/etc/ssl/certs/filebeat-logstash.crt"]
{%- endif %}
{% if logstash_ssl_cert and logstash_ssl_key -%}
ssl.certificate: "/etc/ssl/certs/filebeat-logstash.crt"
ssl.key: "/etc/ssl/private/filebeat-logstash.key"
{%- endif %}
Expand Down

0 comments on commit cb299c6

Please sign in to comment.