TLS verification setting

Hi all,

i have problem with TLS support in Asterisk.
If I want to run my own generated certificate, asterisk alwayes replies certification error and TLS is not working.

sip.conf looks like this

tcpenable=yes
tcpbindaddr=0.0.0.0

tlsenable=yes
tlsbindaddr=0.0.0.0
tlscertfile=/etc/pki_jungle/myCA/newcerts/01.pem
tlscafile=/etc/pki_jungle/myCA/server-key-cert.pem
tlscadir=/etc/pki_jungle/myCA/

If someone knows where the problem can be, please can you let me know
thx very much

Josef