Rory Toma via rsyslog
2018-10-25 21:21:56 UTC
I have two separate files that work just fine. I have not been able to
successfully combine them. No matter what I try, I keep getting tls
errors, because one or the other is using wrong certs. Can anyone help here?
file1:
$DefaultNetstreamDriver gtls
# certificate files
$DefaultNetstreamDriverCAFile /opt/rsyslog/certs/ca.pem
$DefaultNetstreamDriverCertFile /opt/rsyslog/certs/cert.pem
$DefaultNetstreamDriverKeyFile /opt/rsyslog/certs/key.pem
$MaxOpenFiles 100000
module(load="imtcp" MaxSessions="65534" StreamDriver.Mode="1"
StreamDriver.AuthMode="anon") # load TCP listener
$WorkDirectory /export/rsyslog
$ActionQueueType LinkedList
$ActionQueueFileName srvrfwd
$ActionResumeRetryCount -1
$ActionQueueSaveOnShutdown on
ruleset(name="remote"){
*.* @@10.66.13.148:8514
}
$InputTCPServerBindRuleset remote
$InputTCPServerRun 110
file2:
$DefaultNetstreamDriver gtls
$DefaultNetStreamDriverCAFile /opt/rsyslog/certs/relp/ca.pem
$DefaultNetStreamDriverCertFile /opt/rsyslog/certs/relp/cert.pem
$DefaultNetStreamDriverKeyFile /opt/rsyslog/certs/relp/key.pem
$WorkDirectory /export/rsyslog
$ActionQueueType LinkedList
$ActionQueueFileName srvrfws
$ActionResumeRetryCount -1
$ActionQueueSaveOnShutdown on
module(load="imrelp" ruleset="relp")
input(type="imrelp" port="114" tls="on" tls.compression="on"
tls.authmode="fingerprint" )
ruleset(name="relp") {
*.* @@10.66.13.148:8514
}
_______________________________________________
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.
successfully combine them. No matter what I try, I keep getting tls
errors, because one or the other is using wrong certs. Can anyone help here?
file1:
$DefaultNetstreamDriver gtls
# certificate files
$DefaultNetstreamDriverCAFile /opt/rsyslog/certs/ca.pem
$DefaultNetstreamDriverCertFile /opt/rsyslog/certs/cert.pem
$DefaultNetstreamDriverKeyFile /opt/rsyslog/certs/key.pem
$MaxOpenFiles 100000
module(load="imtcp" MaxSessions="65534" StreamDriver.Mode="1"
StreamDriver.AuthMode="anon") # load TCP listener
$WorkDirectory /export/rsyslog
$ActionQueueType LinkedList
$ActionQueueFileName srvrfwd
$ActionResumeRetryCount -1
$ActionQueueSaveOnShutdown on
ruleset(name="remote"){
*.* @@10.66.13.148:8514
}
$InputTCPServerBindRuleset remote
$InputTCPServerRun 110
file2:
$DefaultNetstreamDriver gtls
$DefaultNetStreamDriverCAFile /opt/rsyslog/certs/relp/ca.pem
$DefaultNetStreamDriverCertFile /opt/rsyslog/certs/relp/cert.pem
$DefaultNetStreamDriverKeyFile /opt/rsyslog/certs/relp/key.pem
$WorkDirectory /export/rsyslog
$ActionQueueType LinkedList
$ActionQueueFileName srvrfws
$ActionResumeRetryCount -1
$ActionQueueSaveOnShutdown on
module(load="imrelp" ruleset="relp")
input(type="imrelp" port="114" tls="on" tls.compression="on"
tls.authmode="fingerprint" )
ruleset(name="relp") {
*.* @@10.66.13.148:8514
}
_______________________________________________
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.