<div dir="ltr"><div dir="ltr"><font face="arial, sans-serif">thanks <span style="color:rgb(32,33,36);font-size:0.875rem;letter-spacing:0.2px;white-space:nowrap">Răzvan, </span></font><span style="font-size:14px;letter-spacing:0.2px;white-space:nowrap;color:rgb(32,33,36);font-family:arial,sans-serif">I´ll open a ticket on github with the log messages.</span><div><font color="#202124" face="arial, sans-serif"><span style="font-size:14px;letter-spacing:0.2px;white-space:nowrap"><br></span></font></div><div><font color="#202124" face="arial, sans-serif"><span style="font-size:14px;letter-spacing:0.2px;white-space:nowrap">best regards,</span></font></div><div><font color="#202124" face="arial, sans-serif"><span style="font-size:14px;letter-spacing:0.2px;white-space:nowrap">Carlos Oliva</span></font><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span><font style="font-size:12px" color="#808080" face="Arial, Tahoma, sans-serif"><b><br></b><br></font></span></div></div></div></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El vie., 12 jul. 2019 a las 12:16, Răzvan Crainea (<<a href="mailto:razvan@opensips.org">razvan@opensips.org</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi, Carlos!<br>
<br>
Indeed, the is_peer_verified() function seems to be working only for TLS <br>
connections - could you please open a ticket on github[1] where we shall <br>
discuss how to extend this to support WSS as well?<br>
However, the variables should work fine - could you paste us the error <br>
that they are triggering when trying to use them?<br>
<br>
[1] <a href="https://github.com/OpenSIPS/opensips/issues" rel="noreferrer" target="_blank">https://github.com/OpenSIPS/opensips/issues</a><br>
<br>
Best regards,<br>
Răzvan<br>
<br>
On 7/8/19 1:43 PM, Carlos Oliva wrote:<br>
> Hello list:<br>
> <br>
> I have some doubts about WSS protocolo and TLS_MGM module in 2.4 branch.<br>
> <br>
> I know that I can configure everything about certificates to use in WSS <br>
> protocol using TLS_MGM module parameters but, how can I access the <br>
> client certificate data (if any) if I´m using WSS protocol?<br>
> <br>
> I tried with is_peer_verified() and variables like $tls_peer_subject <br>
> or $tls_peer_issuer but those functions/vars are reporting me that the <br>
> protocol is not TLS.<br>
> <br>
> Is there any way of doing that?<br>
> <br>
> Thanks and regards,<br>
> <br>
> Carlos Oliva<br>
> <br>
> <br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> <br>
<br>
-- <br>
Răzvan Crainea<br>
OpenSIPS Core Developer<br>
<a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div></div>