Hi All, Just a follow-up:
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: ...kamailio.cfg: listen=tls:[AAAA:BBBB:CCCC:DDDD:EEEE:FFFF:GGGG:HHHH]:5061 ... ...tls.cfg: [server:[AAAA:BBBB:CCCC:DDDD:EEEE:FFFF:GGGG:HHHH]:5061] ... Can anyone add a little note in the documentation? (or point me to how I can do it myself) Thanks, Joel. On Tue, Jun 12, 2018 at 6:22 PM, Joel Serrano <j...@textplus.com> wrote: > Hi all, > > I was playing around with the "config" modparam to specify and use a TLS > configuration file instead of inline modparams inside kamailio.cfg. > > I did some testing and when I went to try with IPv6 I run into a little > doubt?? > > tls.cfg config example: > > [server:1.2.3.4:5061] <----- How do you put an IPv6 in there? > method = TLSv1 > verify_certificate = yes > require_certificate = no > private_key = /usr/local/etc/kamailio/tls/local_key.pem > certificate = /usr/local/etc/kamailio/tls/local_cert.pem > verify_depth = 3 > ca_list = local_ca.pem > crl = local_crl.pem > > > > Applying the logic of the "listen" param, it should be: > > [server:[AAAA:BBBB:CCCC:DDDD:EEEE:FFFF:GGGG:HHHH]:5061] > > > But it just seems totally wrong and I haven't found anything in the docs. > > > Any suggestions? > > Thanks, > Joel. > > > > >
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users