Using NID_userId instead of NID_x500UniqueIdentifier leads to:

```
14(3220) INFO: <script>: MY_LOG HANDLE_TLS tls_peer_subject:                  
<null>
14(3220) INFO: <script>: MY_LOG HANDLE_TLS sel(tls.peer.subject.uid):         
denzs
14(3220) INFO: <script>: MY_LOG HANDLE_TLS sel(tls.peer.subject):             
Sebastian Denz
14(3220) INFO: <script>: MY_LOG HANDLE_TLS sel(tls.peer.subject.name):        
Sebastian Denz
14(3220) INFO: <script>: MY_LOG HANDLE_TLS sel(tls.peer.subject.common_name): 
Sebastian Denz
14(3220) INFO: <script>: MY_LOG HANDLE_TLS sel(tls.peer.name):                
Sebastian Denz
```

This at least fixes accessing the uid attribute for me! :)

But it is still not possible to access the whole subject...

See 
https://github.com/denzs/kamailio/commit/66aacee31e487473f00d2b614bc09db678b19b84
 for my changes..

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1843#issuecomment-462263758
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to