# tls.tlsLib

Selects the TLS backend library that librelp should use for RELP operations.

This parameter applies to imrelp: RELP Input Module.

Name:

  tls.tlsLib

Scope:

  module

Type:

  word

Default:

  module=none

Required?:

  no

Introduced:

  8.1903.0

## Description

Permits to specify the TLS library used by librelp. All RELP protocol operations are actually performed by librelp and not rsyslog itself. The value specified is directly passed down to librelp. Depending on librelp version and build parameters, supported TLS libraries differ (or TLS may not be supported at all). In this case rsyslog emits an error message.

Usually, the following options should be available: “openssl”, “gnutls”.

Note that “gnutls” is the current default for historic reasons. We actually recommend to use “openssl”. It provides better error messages and accepts a wider range of certificate types.

If you have problems with the default setting, we recommend to switch to “openssl”.

## Module usage

    module(load="imrelp" tls.tlsLib="openssl")

## See also

See also imrelp: RELP Input Module.

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

Contributing: Source & docs: rsyslog source project

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