[OpenSIPS-Users] questions about TLS_MGM and WSS

Răzvan Crainea razvan at opensips.org
Fri Jul 12 06:14:38 EDT 2019


Hi, Carlos!

Indeed, the is_peer_verified() function seems to be working only for TLS 
connections - could you please open a ticket on github[1] where we shall 
discuss how to extend this to support WSS as well?
However, the variables should work fine - could you paste us the error 
that they are triggering when trying to use them?

[1] https://github.com/OpenSIPS/opensips/issues

Best regards,
Răzvan

On 7/8/19 1:43 PM, Carlos Oliva wrote:
> Hello list:
> 
> I have some doubts about WSS protocolo and TLS_MGM module in 2.4 branch.
> 
> I know that I can configure everything about certificates to use in WSS 
> protocol using TLS_MGM module parameters but, how can I access the 
> client certificate data (if any) if I´m using WSS protocol?
> 
> I tried with is_peer_verified() and variables like $tls_peer_subject 
> or $tls_peer_issuer but those functions/vars are reporting me that the 
> protocol is not TLS.
> 
> Is there any way of doing that?
> 
> Thanks and regards,
> 
> Carlos Oliva
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 

-- 
Răzvan Crainea
OpenSIPS Core Developer
   http://www.opensips-solutions.com



More information about the Users mailing list