[sr-dev] [kamailio/kamailio] TLS module: access UID attribute (#1843)

Sebastian Denz notifications at github.com
Mon Feb 11 10:31:55 CET 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190211/c9b7ce03/attachment.html>


More information about the sr-dev mailing list