<div dir="ltr">Hi All, <div><br></div><div>Just a follow-up:</div><div><br></div><div>I was able to do some more test in lab last night, this format works as long as you have the equivalent `listen` param in kamailio.cfg:</div><div><br></div><div>...kamailio.cfg:</div><div><br></div><div><span style="font-family:monospace,monospace;font-size:12.8px">listen=tls:</span><font color="#0000ff" style="font-family:monospace,monospace;font-size:12.8px">[AAAA:BBBB:CCCC:DDDD:<wbr>EEEE:FFFF:GGGG:HHHH]</font><span style="font-family:monospace,monospace;font-size:12.8px">:5061</span><br><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"></span>...</div><div><br></div><div>...tls.cfg:</div><div><br></div><div><div style="font-size:12.8px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><font face="monospace, monospace">[server:<font color="#0000ff">[AAAA:BBBB:CCCC:DDDD:<wbr>EEEE:FFFF:GGGG:HHHH]</font>:5061]</font></div>...</div><div><br class="gmail-Apple-interchange-newline"><br></div><div>Can anyone add a little note in the documentation? (or point me to how I can do it myself)</div><div><br></div><div>Thanks, </div><div>Joel.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 12, 2018 at 6:22 PM, Joel Serrano <span dir="ltr"><<a href="mailto:joel@textplus.com" target="_blank">joel@textplus.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all, <div><br></div><div>I was playing around with the "config" modparam to specify and use a TLS configuration file instead of inline modparams inside kamailio.cfg.</div><div><br></div><div>I did some testing and when I went to try with IPv6 I run into a little doubt??</div><div><br></div><div>tls.cfg config example:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><font face="monospace, monospace">[server:<font color="#ff0000">1.2.3.4</font>:5061] </font><font face="arial, helvetica, sans-serif" color="#0000ff"><----- How do you put an IPv6 in there?</font></div></div><div><div><font face="monospace, monospace">method = TLSv1</font></div></div><div><div><font face="monospace, monospace">verify_certificate = yes</font></div></div><div><div><font face="monospace, monospace">require_certificate = no</font></div></div><div><div><font face="monospace, monospace">private_key = /usr/local/etc/kamailio/tls/<wbr>local_key.pem</font></div></div><div><div><font face="monospace, monospace">certificate = /usr/local/etc/kamailio/tls/<wbr>local_cert.pem</font></div></div><div><div><font face="monospace, monospace">verify_depth = 3</font></div></div><div><div><font face="monospace, monospace">ca_list = local_ca.pem</font></div></div><div><div><font face="monospace, monospace">crl = local_crl.pem</font></div></div></blockquote><div><br></div><div><br></div><div>Applying the logic of the "listen" param, it should be:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="monospace, monospace">[server:<font color="#ff0000">[AAAA:BBBB:CCCC:DDDD:<wbr>EEEE:FFFF:GGGG:HHHH]</font>:5061]</font></div><div><font face="monospace, monospace"><br></font></div></blockquote><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">But it just seems totally wrong and I </span>haven't found anything in the docs.</div><div><br></div><div><br></div><div>Any suggestions?</div><div><br></div><div>Thanks, </div><span class="HOEnZb"><font color="#888888"><div>Joel.</div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><br></div><div><br></div></font></span></div>
</blockquote></div><br></div>