rsyslog RELP configuration with TLS failed with certificate validation failed in Red Hat Enterprise Linux 8
Issue
- The
rsyslogdhas a configuration to transfer messages into a remote server withRELP TLS. - The server certificate and client certificate is generated for
TLSconfiguration. - 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.