tls.authMode

Defines the mutual authentication method used for DTLS clients. .. summary-end

This parameter applies to imdtls: Input Module for DTLS Protocol over UDP.

Name:

tls.authMode

Scope:

input

Type:

string

Default:

none

Required?:

no

Introduced:

v8.2402.0

Description

Sets the mode used for mutual authentication.

Supported values are:

  • fingerprint: Authentication based on certificate fingerprint.

  • name: Authentication based on the subjectAltName and, as a fallback, the subject common name.

  • certvalid: Requires a valid certificate for authentication.

  • anon or certanon: Anonymous authentication, which does not require a client certificate. If the parameter is omitted for an input, the module-level tls.authmode value is used (anonymous by default).

Any other value is a configuration error when global(compatibility.defaults.secure="strict") is set: the input (or, for the module parameter, the module configuration) is rejected. With the warn (default) and backward-compatible policies, rsyslog keeps the historical behavior for compatibility: it logs a warning and uses anonymous authentication, so the peer is not verified. Check startup warnings for typos in this value.

Input usage

module(load="imdtls")
input(type="imdtls" tls.authMode="certvalid")

See also

See also imdtls: Input Module for DTLS Protocol over UDP.


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.