I ran into some trouble in getting SSL to work over TCP.  Plain TCP works
fine, but once I switched on SSL, I got this error in the server:

rsyslogd-2083: gnutls returned error on handshake: An unexpected TLS packet
was received.

Here are the relevant configurations:

Client:
$DefaultNetstreamDriver gtls
$DefaultNetstreamDriverCAFile /etc/ssl/rsyslog/ca.crt

action(    type="omfwd" ...
          streamdriver="gtls" streamdrivermode="1"
streamdriverauthmode="anon"
           ...)


Server:
$DefaultNetstreamDriver gtls
$DefaultNetstreamDriverCAFile /etc/ssl/rsyslog/ca.crt
$DefaultNetstreamDriverCertFile /etc/ssl/rsyslog/rsyslog.crt
$DefaultNetstreamDriverKeyFile /etc/ssl/rsyslog/rsyslog.key

module( load="imtcp"
        streamdriver.mode="1"
        streamdriver.authmode="anon")



Any help is appreciated!

Thanks,
Chris
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to