I generate those certificates and i put then in linphone source code i want to enable require_certficate=1 could you help me how and where to put the certificates and linphone peer return it ? , thank you
> On Mar 3, 2020, at 10:52 AM, M S <[email protected]> wrote: > > > 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, <[email protected]> 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 <[email protected]> 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, <[email protected]> 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 <[email protected]> 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, <[email protected]> >>>>>> 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 >>>>>> [email protected] >>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >>>>> _______________________________________________ >>>>> Kamailio (SER) - Users Mailing List >>>>> [email protected] >>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >>>> _______________________________________________ >>>> Kamailio (SER) - Users Mailing List >>>> [email protected] >>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >>> _______________________________________________ >>> Kamailio (SER) - Users Mailing List >>> [email protected] >>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> _______________________________________________ >> Kamailio (SER) - Users Mailing List >> [email protected] >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > _______________________________________________ > Kamailio (SER) - Users Mailing List > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
