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

Daniel-Constantin Mierla miconda at gmail.com
Tue Jul 12 08:46:05 CEST 2016


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?
>
> 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
>
> $tls_my_san_hostname produces only foo.bar.com.
>
> -- Juha
>
> _______________________________________________
> 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

-- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-users mailing list