Using network()
We assume the same certificate set-up as outlined in the TLS-Encryption post.
TLS-encryption using network() driver
Configuration Files Used
@version: 3.31
@include "scl.conf"
options {
stats-freq(10);
time-reopen(10);
};
source custom
{
example-msg-generator(
num(20)
freq(5)
template("TLS Message")
);
};
destination tls_destination {
network(
"0.0.0.0" port(1999)
transport("tls")
tls(
ca_dir("/usr/local/etc/ssl/clientSSL/ca.d")
)
);
};
log {
source(custom);
destination(tls_destination);
};Proof


Last updated