tls.authmode¶
Sets the DTLS peer authentication method used by the action.
This parameter applies to omdtls: Output Module for DTLS Protocol over UDP.
- Name:
tls.authmode
- Scope:
action
- Type:
string
- Default:
anonymous authentication
- Required?:
no
- Introduced:
v8.2402.0
Description¶
Sets the mode of authentication to be used.
Supported values are fingerprint, name, certvalid, and the explicit
anonymous modes anon and certanon.
fingerprint: The trusted server certificate must match the complete SHA-256 fingerprint intls.permittedpeer. The pin is required in this mode and has the formSHA256:AA:BB:...(32 colon-separated octets).name: The trusted server certificate must identify the expected server. The expected name istls.permittedpeerwhen set, otherwisetarget. DNS names usesubjectAltNamewith a common-name fallback when no DNS subjectAltName is present. IP addresses require a matching IP subjectAltName.certvalid: Requires a valid certificate for authentication.
All three modes require a certificate trusted by the configured CA set.
certvalid does not bind the certificate to target. Use it only when
chain validation alone is the intended policy. Existing name deployments
that connect by IP to a DNS-named server should set tls.permittedpeer to
that DNS name; fingerprint deployments must add an explicit SHA-256 pin.
If this parameter is not set, or is set to anon or certanon, the
action uses anonymous authentication (no client certificate required, and the
server is not verified).
Any other value is a configuration error when
global(compatibility.defaults.secure="strict") is set, and the action is
not created. 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 server is not
verified. Check startup warnings for typos in this value.
Input usage¶
action(type="omdtls" target="192.0.2.1" port="4433" tls.authMode="certvalid")
See also¶
See also omdtls: Output 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.