Secure call

I followed the tutorial I found here:

wiki.asterisk.org/wiki/display/ … g+Tutorial

to configure Asterisk.

I used CSipSimple client to make a secure call. I copied the files:

client.crt
client.key
ca.crt

where client is the name I used instead of malcolm in the tutorial.

I can register by using TLS but when I try to start a call I get the following error:

ERROR[28899]: tcptls.c:198 handle_tcptls_connection: Certificate common name did not match (192.168.1.180)

where 192.168.1.180 is the IP-address of my client.

Can you help me please?