Skip to content

Commit

Permalink
doc/tls: Add documentation for TLS logging
Browse files Browse the repository at this point in the history
  • Loading branch information
e-cite authored and victorjulien committed Jun 1, 2022
1 parent f42bb45 commit db73a12
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions doc/userguide/configuration/suricata-yaml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,27 @@ For more advanced configuration options, see :ref:`Eve JSON Output <eve-json-out

The format is documented in :ref:`Eve JSON Format <eve-json-format>`.

TLS parameters and certificates logging (tls.log)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The TLS handshake parameters can be logged in a line based log as well.
By default, the logfile is `tls.log` in the suricata log directory.
See :ref:`Custom TLS logging <output-custom-tls-logging>` for details
about the configuration and customization of the log format.

Furthermore there is an output module to store TLS certificate files to
disk. This is similar to :ref:`File-store (File Extraction)
<suricata-yaml-file-store>`, but for TLS certificates.

Example:

::

# output module to store certificates chain to disk
- tls-store:
enabled: yes
#certs-log-dir: certs # directory to store the certificates files

A line based log of HTTP requests (http.log)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
2 changes: 2 additions & 0 deletions doc/userguide/output/custom-tls-logging.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _output-custom-tls-logging:

Custom tls logging
===================

Expand Down

0 comments on commit db73a12

Please sign in to comment.