.. _param-imrelp-tls-cacert:
.. _imrelp.parameter.input.tls-cacert:

tls.caCert
==========

.. index::
   single: imrelp; tls.caCert
   single: tls.caCert

.. summary-start

Specifies the CA certificate file used to validate client certificates.

.. summary-end

This parameter applies to :doc:`../../configuration/modules/imrelp`.

:Name: tls.caCert
:Scope: input
:Type: string
:Default: input=none
:Required?: no
:Introduced: Not documented

Description
-----------
The CA certificate that is being used to verify the client certificates. Has to
be configured if :ref:`param-imrelp-tls-authmode` is set to ``name`` or
``certvalid``.

Input usage
-----------
.. _param-imrelp-input-tls-cacert-usage:
.. _imrelp.parameter.input.tls-cacert-usage:

.. code-block:: rsyslog

   input(type="imrelp" port="2514" tls="on" tls.caCert="/etc/rsyslog/ca.pem")

See also
--------
See also :doc:`../../configuration/modules/imrelp`.
