we have an Android Application with linphone library for voice calling (sip server - asterisk).
we need to switch transport mode from TCP to TLS and change media encryption to SRTP for secure communications.
my problem is how can i embed and use .CA and .pem certificate file in Linphone project. i searched about it but could not find any good solution.
can anybody help me and save my life ?
thank you so mouch.
finally i found my answer , we should embed .ca file in res/raw/rootca.pem path in android project and replace with rootca.pem linphone file that copied in raw folder.
for more info you ca use following links.