I am trying to use a self-signed certificate to configure TLS in Linphone Android in order to be able to communicate with the SIP FreeSWITCH server. But SSL handshake fails with the following errors:
Channel [0x9ec3c000]: SSL handshake failed: X509 - Certificate verification error, for example. CRL, CA, or signature verification failed. Cannot connect to [TLS: //52.3.207.224: 5061]
Can anyone suggest which way forward to debug this problem? Or how can we set up a self-signed certificate in Linphone Android.
NOTE. I do not want to disable TLS server certificate verification as suggested below
[SIP] verify_server_certs = 0
source share