[SR-Users] (no subject)

M S shaheryarkh at gmail.com
Tue Mar 3 09:50:03 CET 2020


Any sip client will work with kamailio (as sip server) as long as it
supports TLS and configured correctly. I mostly use Linphone, Xlite and
some of my own sip clients that i have built over the years.

You simply need to follow the quick howto in tls module documentation (as i
mentioned earlier) to generate client and server certificates. Then copy
client cert along with CA to sip client, provide connection and
authentication info and it should work fine.

For over simplified setup where you don't have client certificate or not
sure how to configure one for any given sip client, you can disable
"verify_certificate" option in tls module.

Hope this helps.


On Tue, 3 Mar 2020, 08:53 ahmed moghazy, <ahmed.m.moghazi at gmail.com> wrote:

> I know that but i want voip program to be used with  kamailio using tls i
> you could suggest one , thank you
>
> Sent from my iPhone
>
> On Mar 3, 2020, at 5:54 AM, M S <shaheryarkh at gmail.com> wrote:
>
> 
> Dude again, RTFM!
>
> The TLS module has a quick how-to generate client and server certificates.
> Both must be issued by same CA and server must have all issued certificates
> along with CA, CRL and private key. The whole directory structure and what
> to put where is listed, along with how to configure kamailio.
>
>
> On Mon, 2 Mar 2020, 20:27 ahmed moghazy, <ahmed.m.moghazi at gmail.com>
> wrote:
>
>> I put my own certficate in /res/raw/rootca.pem in linphone
>>
>> Sent from my iPhone
>>
>> On Mar 2, 2020, at 7:40 PM, M S <shaheryarkh at gmail.com> wrote:
>>
>> 
>> Please read the tls module documentation,
>>
>>
>> https://kamailio.org/docs/modules/devel/modules/tls.html#tls.p.require_certificate
>>
>> when enabled it requires client to present certificate, but client does
>> not have one, which is the likely cause of the problem.
>>
>> Hope this helps.
>>
>>
>> On Mon, 2 Mar 2020, 14:34 ahmed moghazy, <ahmed.m.moghazi at gmail.com>
>> wrote:
>>
>>> Hello sir ,
>>> when i enabled tls module in kamailio and i made the configurations in
>>> tls.cfg,
>>> kamailio always sent me that peer dont return certificate when i make
>>> requre_certficate=1
>>> _______________________________________________
>>> Kamailio (SER) - Users Mailing List
>>> sr-users at lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200303/d2860301/attachment.html>


More information about the sr-users mailing list