rsyslog in RHEL can not handle ssl certificate which have dn longer then 128 characters

Solution Verified - Updated -

Issue

  • rsyslog in RHEL can not handle ssl certificate which have dn longer then 128 characters

From the logs

May 14 10:14:41 XXXX rsyslogd: not permitted to talk to peer, certificate invalid: GnuTLS returned no specific reason
May 14 10:14:41 XXXX rsyslogd: invalid cert info: peer provided 1 certificate(s). Certificate 1 info: certificate valid from Tue Apr  3 11:20:06 2012 to Tue Apr 17 11:20:06 2012; Certificate public key: RSA; DN: ; Issuer DN: C=XXXX,O=XXXX,OU=XXXX,CN=XXXXXX; 
May 14 10:14:42 XXXX rsyslogd-2089: netstream session 0x7f4610079760 will be closed due to error
 [try <a href="http://www.rsyslog.com/e/2089" target="_blank" class="make_room_for_kcs">http://www.rsyslog.com/e/2089</a> ]

Environment

  • Red Hat Enterprise Linux 5 and 6
  • rsyslog-4.6.2-3.el6 [RHEL 6]
  • rsyslog-3.22.1-7.el5 [RHEL 5]

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