<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>20 mar 2013 kl. 10:33 skrev Khoa Pham <<a href="mailto:onmyway133@gmail.com">onmyway133@gmail.com</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi Olle,<div><br></div><div style="">I follow these 2 tutorials</div><div style="">1. <a href="http://nil.uniza.sk/network-security/tls/configuring-tls-support-kamailio-31-howto">http://nil.uniza.sk/network-security/tls/configuring-tls-support-kamailio-31-howto</a></div>
<div style="">which only describes to listen on tls</div><div style=""><br></div><div style=""><pre style="background-color: rgb(238, 238, 238); padding: 0.75em 1.5em; font-size: 12px; border: 1px solid rgb(221, 221, 221); line-height: 13.1875px; ">listen=tls:<a href="http://158.193.139.51:5061/">158.193.139.51:5061</a></pre></div><div style="">2. <a href="http://www.kamailio.org/dokuwiki/doku.php/tls:create-certificates">http://www.kamailio.org/dokuwiki/doku.php/tls:create-certificates</a></div>
<div style="">which only describes to listen on udp and tcp</div><div style=""><pre class="" style="padding: 0.5em; border: 1px dashed rgb(140, 172, 187); background-color: rgb(247, 249, 250); line-height: 1.1em; font-size: 12px; overflow: auto; "> listen=udp:<ip-address-for-receiving-sip-requests>:5060
listen=tcp:<ip-address-for-receiving-sip-requests>:5060 </pre></div><div style=""><br></div><div style="">It is not until I listen on both TCP and LTS does it work.</div><div style=""><br></div><div style="">You document <a href="http://kamailio.org/docs/modules/4.0.x/modules/tls.html">http://kamailio.org/docs/modules/4.0.x/modules/tls.html</a> seems to lack of these "listen"</div></div></blockquote>Right.</div><div>But it's in the core cookbook. We should propably add the listen to the TLS docs too.</div><div><br></div><div>Thanks!</div><div><br></div><div>/O<br><blockquote type="cite"><div dir="ltr">
<div style=""><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 20, 2013 at 4:10 PM, Olle E. Johansson <span dir="ltr"><<a href="mailto:oej@edvina.net" target="_blank">oej@edvina.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div>20 mar 2013 kl. 07:55 skrev Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>>:</div>
<div class="im"><br><blockquote type="cite">
<div bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
when tls module is installed, a self signed pair of
certificate-private key is generated in /usr/local/etc/kamailio<br>
<br>
If you need one that is signed by a trusted CA (e.g., Verisign), you
will have to buy it.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div>On 3/19/13 8:08 AM, Khoa Pham wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi,
<div><br>
I want to enable TLS in Kamailio, as in here <a href="http://kamailio.org/docs/modules/stable/modules/tls.html" target="_blank">http://kamailio.org/docs/modules/stable/modules/tls.html</a></div>
<div><br>
</div>
<div>
But how can I get the certificate and private key ?<br clear="all">
</div></div></blockquote></div></blockquote><br></div></div><div>The documentation for the TLS module actually includes a quick howto.</div><div><a href="http://kamailio.org/docs/modules/4.0.x/modules/tls.html" target="_blank">http://kamailio.org/docs/modules/4.0.x/modules/tls.html</a></div>
<div><br></div><div>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.</div><div><br></div><div>Thanks,</div><div>/O</div><br>
</div><br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="">Khoa Pham</span><br style=""><span style="">HCMC University of Science</span><br style="">
<span style="">Faculty of Information Technology</span><br>
</div>
_______________________________________________<br>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br><a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users<br></blockquote></div><br></body></html>