[SR-Users] How to enable TLS in Kamailio ?

Olle E. Johansson oej at edvina.net
Wed Mar 20 12:43:06 CET 2013


20 mar 2013 kl. 10:33 skrev Khoa Pham <onmyway133 at gmail.com>:

> Hi Olle,
> 
> I follow these 2 tutorials
> 1. http://nil.uniza.sk/network-security/tls/configuring-tls-support-kamailio-31-howto
> which only describes to listen on tls
> 
> listen=tls:158.193.139.51:5061
> 2. http://www.kamailio.org/dokuwiki/doku.php/tls:create-certificates
> which only describes to listen on udp and tcp
>  listen=udp:<ip-address-for-receiving-sip-requests>:5060
>   listen=tcp:<ip-address-for-receiving-sip-requests>:5060  
> 
> It is not until I listen on both TCP and LTS does it work.
> 
> You document http://kamailio.org/docs/modules/4.0.x/modules/tls.html seems to lack of these "listen"
Right.
But it's in the core cookbook. We should propably add the listen to the TLS docs too.

Thanks!

/O
> 
> 
> 
> On Wed, Mar 20, 2013 at 4:10 PM, Olle E. Johansson <oej at edvina.net> wrote:
> 
> 20 mar 2013 kl. 07:55 skrev Daniel-Constantin Mierla <miconda at gmail.com>:
> 
>> Hello,
>> 
>> when tls module is installed, a self signed pair of certificate-private key is generated in /usr/local/etc/kamailio
>> 
>> If you need one that is signed by a trusted CA (e.g., Verisign), you will have to buy it.
>> 
>> Cheers,
>> Daniel
>> 
>> On 3/19/13 8:08 AM, Khoa Pham wrote:
>>> Hi, 
>>> 
>>> I want to enable TLS in Kamailio, as in here http://kamailio.org/docs/modules/stable/modules/tls.html
>>> 
>>> But how can I get the certificate and private key ?
> 
> The documentation for the TLS module actually includes a quick howto.
> http://kamailio.org/docs/modules/4.0.x/modules/tls.html
> 
> What part of this needs clarification? Please help us make the documentation better if there are parts you do not undertand or isn't explained.
> 
> Thanks,
> /O
> 
> 
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> 
> 
> 
> 
> -- 
> Khoa Pham
> HCMC University of Science
> Faculty of Information Technology
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130320/0e32c575/attachment.htm>


More information about the sr-users mailing list