I cannot get Linphone TLS working against my SIP (Kamailio 4.x) server on Android. TLS works fine on iPhone. This is the case with both the Android Market and my own compiled version.
The error is: "SSL handshake failed : X509 - Certificate verification failed, e.g. CRL, CA or signature check failed"
The server has a valid, signed cert (Comodo CA) and on the server I have concatenated the ca cert with the server cert to ensure the chain of trust is available.
I have tried manually adding the ca-bundle cert and the server cert into res/raw/rootca.pem but this has made no difference.
Is there any way to either turn off certificate verification for TLS or to add my cert?