.. _param-imdtls-tls-mycert:
.. _imdtls.parameter.input.tls-mycert:

tls.myCert
==========

.. index::
   single: imdtls; tls.myCert
   single: tls.myCert

.. summary-start

Identifies the certificate file the imdtls listener presents to peers.
.. summary-end

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

:Name: tls.myCert
:Scope: input
:Type: string
:Default: none
:Required?: no
:Introduced: v8.2402.0

Description
-----------
Specifies the certificate file used by imdtls. This certificate is presented
to peers during the DTLS handshake.

Input usage
-----------
.. _imdtls.parameter.input.tls-mycert-usage:

.. code-block:: rsyslog

   module(load="imdtls")
   input(type="imdtls"
         tls.myCert="/etc/rsyslog/server.pem"
         tls.myPrivKey="/etc/rsyslog/server.key")

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