om_ssl certificate verification failed with AllowUntrusted TRUE
Tags:
om_ssl tls certificate
#1
ToddChapman
Hi,
I'm using om_ssl to send syslog over TLS with the following config.
<Output syslog>
Module om_ssl
Host my_host
Port 514
AllowUntrusted TRUE
OutputType Syslog_TLS
Exec to_syslog_ietf();
</Output>
Nxlog is producing the following error: ERROR SSL certificate verification failed: unable to get local issuer certificate (err: 20)
How do I configure om_ssl to skip all certificate verification?
Thanks!
#2
ToddChapman
#1
ToddChapman
Hi,
I'm using om_ssl to send syslog over TLS with the following config.
<Output syslog>
Module om_ssl
Host my_host
Port 514
AllowUntrusted TRUE
OutputType Syslog_TLS
Exec to_syslog_ietf();
</Output>
Nxlog is producing the following error: ERROR SSL certificate verification failed: unable to get local issuer certificate (err: 20)
How do I configure om_ssl to skip all certificate verification?
Thanks!
I was able to solve this by downloading a proper certificate file and using the CAFile option.