Module om_http: SSL certificate verification failed

Tags: om_http

#1 hatula

Hi,

I use module om_http for send events to host via https, but after start NXlog shows error:

ERROR SSL certificate verification failed: self signed certificate in certificate chain (err: 19)

Thanks for your ideas!

#2 Zhengshi Nxlog ✓
#1 hatula
Hi, I use module om_http for send events to host via https, but after start NXlog shows error: ERROR SSL certificate verification failed: self signed certificate in certificate chain (err: 19) Thanks for your ideas!

This is normally caused when you send a self signed certificate does not have a trusted CA in it's chain.
Typically you would resolve this by adding HTTPSCAFile or HTTPSCADir to your config. This is the equivalent to adding -CAfile and -CApath to openssl s_client.