Hello,
I have manged it, maybe it can help somebody.
Problem was, that /etc/pki/tls/certs was missing on the server.
So I have created a folder tls inside /etc/pki, then folder certs inside /et/pki/tls and then I have created a symbolic link
ln -s /etc/ssl/certs/ca-certificates.crt /etc/pki/tls/certs/ca-bundle.crt
This solved the issue with emails and some other scripts on one of my websites.
