Configuring nxLog as syslog server


#1 infogatherer

Hi, I am very new to this and trying to configure the nxLog as a syslog server on windows 2012. I added the following to the default config file:

<Extension _syslog> Module xm_syslog </Extension> <Input ssl> Module im_ssl Host localhost Port 6393 CertFile %CERTDIR%/ukfff6292.pem CertKeyFile %CERTDIR%/private.pfx
InputType Syslog_TLS Exec parse_syslog_ietf(); </Input>

Then on cmd, I start the nxLog with -f option. I get the following error

2018-12-24 11:32:55 ERROR SSL error, couldn't read cert, no start line, 2018-12-24 11:32:55 WARNING no functional input modules! 2018-12-24 11:32:55 INFO nxlog-ce-2.10.2150 started 2018-12-24 11:32:55 ERROR SSL error, couldn't read cert, no start line,

Please help me regarding this.

#2 b0ti Nxlog ✓
#1 infogatherer
Hi, I am very new to this and trying to configure the nxLog as a syslog server on windows 2012. I added the following to the default config file: <Extension _syslog> Module xm_syslog </Extension> <Input ssl> Module im_ssl Host localhost Port 6393 CertFile %CERTDIR%/ukfff6292.pem CertKeyFile %CERTDIR%/private.pfx InputType Syslog_TLS Exec parse_syslog_ietf(); </Input> Then on cmd, I start the nxLog with -f option. I get the following error 2018-12-24 11:32:55 ERROR SSL error, couldn't read cert, no start line, 2018-12-24 11:32:55 WARNING no functional input modules! 2018-12-24 11:32:55 INFO nxlog-ce-2.10.2150 started 2018-12-24 11:32:55 ERROR SSL error, couldn't read cert, no start line, Please help me regarding this.

CertKeyFile %CERTDIR%/private.pfx

pfx is PKCS12 format. You need to convert it to PEM.