Re: [SR-Users] access to tls X509v3 Subject Alternative Name

2016-07-13 Thread Daniel-Constantin Mierla
On 13/07/16 08:56, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > >> The right format to try for a variable with index would have been >> $(tls_my_san_hostname[2]) -- have you tried that, too? > $var(san2) = $(tls_my_san_hostname[2]); > xlog("L_INFO", "*** $var(

Re: [SR-Users] access to tls X509v3 Subject Alternative Name

2016-07-12 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > The right format to try for a variable with index would have been > $(tls_my_san_hostname[2]) -- have you tried that, too? $var(san2) = $(tls_my_san_hostname[2]); xlog("L_INFO", "*** $var(san2)\n"); produces: Jul 13 09:51:44 sars sip-pr

Re: [SR-Users] access to tls X509v3 Subject Alternative Name

2016-07-12 Thread Daniel-Constantin Mierla
On 12/07/16 20:03, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > >> haven't tested nor looked at source code -- have you tried to see if it >> works with index (e.g, $tls_my_san_hostname[2])? > $var(san) = $tls_my_san_hostname[2]; > > results in $var(san) == 0. The right format to t

Re: [SR-Users] access to tls X509v3 Subject Alternative Name

2016-07-12 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > haven't tested nor looked at source code -- have you tried to see if it > works with index (e.g, $tls_my_san_hostname[2])? $var(san) = $tls_my_san_hostname[2]; results in $var(san) == 0. -- Juha ___ SIP Express Rou

Re: [SR-Users] access to tls X509v3 Subject Alternative Name

2016-07-11 Thread Daniel-Constantin Mierla
Hello, haven't tested nor looked at source code -- have you tried to see if it works with index (e.g, $tls_my_san_hostname[2])? Cheers, Daniel On 11/07/16 15:17, Juha Heinanen wrote: > Is there some means to get access to local and peer ssl certificate > X509v3 Subject Alternative Name value? >

[SR-Users] access to tls X509v3 Subject Alternative Name

2016-07-11 Thread Juha Heinanen
Is there some means to get access to local and peer ssl certificate X509v3 Subject Alternative Name value? For example, if there is this in certificate: Subject: CN=foo.bar.com X509v3 Subject Alternative Name: DNS:foo.bar.com, DNS:foo.car.com, DNS:car.com $t