mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 12:00:43 +01:00
also prepared test case for TLS testing, but not activated it inside the build itself. A note on TLS testing: the current testsuite (in git!) already contains TLS test cases. However, getting these test cases correct is not simple. That's not a problem with the code itself, but rater a problem with synchronization in the test environment. So I have deciced to keep the TLS tests in, but not yet actually utilize them. This is most probably left as an excercise for future (devel) releases.
23 lines
737 B
Plaintext
23 lines
737 B
Plaintext
# see equally-named shell file for details
|
|
# this is the config fil for the TLS server
|
|
# rgerhards, 2009-11-11
|
|
$IncludeConfig diag-common.conf
|
|
|
|
$ModLoad ../plugins/imtcp/.libs/imtcp
|
|
|
|
# certificates
|
|
$DefaultNetstreamDriverCAFile testsuites/x.509/ca.pem
|
|
$DefaultNetstreamDriverCertFile testsuites/x.509/client-cert.pem
|
|
$DefaultNetstreamDriverKeyFile testsuites/x.509/client-key.pem
|
|
|
|
$DefaultNetstreamDriver gtls # use gtls netstream driver
|
|
|
|
# then SENDER sends to this port (not tcpflood!)
|
|
$InputTCPServerStreamDriverMode 1
|
|
$InputTCPServerStreamDriverAuthMode anon
|
|
$InputTCPServerRun 13515
|
|
|
|
$template outfmt,"%msg:F,58:2%\n"
|
|
$template dynfile,"rsyslog.out.log" # trick to use relative path names!
|
|
:msg, contains, "msgnum:" ?dynfile;outfmt
|