rsyslog RELP configuration with TLS failed with certificate validation failed in Red Hat Enterprise Linux 8

Solution Unverified - Updated -

Issue

  • The rsyslogd has a configuration to transfer messages into a remote server with RELP TLS.
  • The server certificate and client certificate is generated for TLS configuration.
  • It failed to transfer messages with the following error.
omrelp[<hostname>:<port>]: authentication error 'certificate validation failed', peer is '' - DISABLING action [v8.2102.0-5.el8 try https://www.rsyslog.com/e/2353 ]
omrelp[<hostname>:<port>]: error 'TLS handshake failed [gnutls error -43: Error in the certificate.]', object  'conn to srvr <hostname>:<port>' - action may not work as intended [v8.2102.0-5.el8 try https://www.rsyslog.com/e/2353>

Environment

Red Hat Enterprise Linux 8 (for rsyslog client to forward messages)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content