Srtp call failure

when i try to call from 192.168.196.1 to 192.168.196.159 i get the following error.

[Aug 15 01:03:16] ERROR[26064]: tcptls.c:243 handle_tcptls_connection: Certificate common name did not match (192.168.196.159)

i have created two pem files for both softphones.
6001.pem
6002.pem

:arrow_right: :arrow_right:
this is my sip.conf

[general]
tlsenable=yes
tlsbindaddr=0.0.0.0
tlscertfile=/etc/asterisk/keys/asterisk.pem
tlscafile=/etc/asterisk/keys/ca.crt
tlscipher=ALL
tlsclientmethod=tlsv1

[6001]
type=friend
host=dynamic
secret=123456
context=users
deny=0.0.0.0/0
permit=192.168.0.0/255.255.0.0
transport=tls
encryption=yes

[6002]
type=friend
host=dynamic
secret=123456
context=users
deny=0.0.0.0/0
permit=192.168.0.0/255.255.0.0
transport=tls
encryption=yes

:arrow_right: :arrow_right: :arrow_right:

and my extensions.conf

[users]
exten=>6001,1,Dial(SIP/6001,20)
exten=>6002,1,Dial(SIP/6002,20)

:arrow_right: :arrow_right: :arrow_right:

i used this method to create CAs

./ast_tls_cert -C pbx.mycompany.com -O “My Super Company” -d /etc/asterisk/keys

./ast_tls_cert -m client -c /etc/asterisk/keys/ca.crt -k /etc/asterisk/keys/ca.key -C phone1.mycompany.com -O “My Super Company” -d /etc/asterisk/keys -o 6001