<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=6481937" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/henningw">@henningw</a> and <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=20310" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/oej">@oej</a></p>
<p>Thank you so much for your awesome support!</p>
<p>unfortunately the patch doesnt help yet..</p>
<pre><code>xlog("L_INFO", "MY_LOG HANDLE_TLS tls_peer_subject:                  $tls_peer_subject\n");
xlog("L_INFO", "MY_LOG HANDLE_TLS tls_peer_subject_uid:              $tls_peer_subject_uid\n");
xlog("L_INFO", "MY_LOG HANDLE_TLS sel(tls.peer.subject.uid):         $sel(tls.peer.subject.uid)\n");
xlog("L_INFO", "MY_LOG HANDLE_TLS sel(tls.peer.subject):             $sel(tls.peer.subject)\n");
xlog("L_INFO", "MY_LOG HANDLE_TLS sel(tls.peer.subject.name):        $sel(tls.peer.subject.name)\n");
xlog("L_INFO", "MY_LOG HANDLE_TLS sel(tls.peer.subject.common_name): $sel(tls.peer.subject.common_name)\n");
xlog("L_INFO", "MY_LOG HANDLE_TLS sel(tls.peer.name):                $sel(tls.peer.subject.name)\n");
</code></pre>
<p>logs:</p>
<pre><code>12(24697) INFO: <script>: MY_LOG HANDLE_TLS tls_peer_subject:                  <null>
12(24697) INFO: <script>: MY_LOG HANDLE_TLS tls_peer_subject_uid:                  <null>
12(24697) INFO: <script>: MY_LOG HANDLE_TLS sel(tls.peer.subject.uid):         <null>
12(24697) INFO: <script>: MY_LOG HANDLE_TLS sel(tls.peer.subject):             Sebastian Denz
12(24697) INFO: <script>: MY_LOG HANDLE_TLS sel(tls.peer.subject.name):        Sebastian Denz
12(24697) INFO: <script>: MY_LOG HANDLE_TLS sel(tls.peer.subject.common_name): Sebastian Denz
12(24697) INFO: <script>: MY_LOG HANDLE_TLS sel(tls.peer.name):                Sebastian Denz
</code></pre>
<p>Regarding to wireshark the uid is send like this:<br>
RelativeDistinguishedName item (itu-t.9.2342.19200300.100.1.1=denzs)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1843#issuecomment-462251509">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZRKx-oP2CMk_7woJLzmLYLteQfCnks5vMSyXgaJpZM4avSnU">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZQ35qRmV8ChWn_8hU0wrNZehiWbOks5vMSyXgaJpZM4avSnU.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@denzs in #1843: @henningw and @oej\r\n\r\nThank you so much for your awesome support!\r\n\r\nunfortunately the patch doesnt help yet..\r\n\r\n```\r\nxlog(\"L_INFO\", \"MY_LOG HANDLE_TLS tls_peer_subject:                  $tls_peer_subject\\n\");\r\nxlog(\"L_INFO\", \"MY_LOG HANDLE_TLS tls_peer_subject_uid:              $tls_peer_subject_uid\\n\");\r\nxlog(\"L_INFO\", \"MY_LOG HANDLE_TLS sel(tls.peer.subject.uid):         $sel(tls.peer.subject.uid)\\n\");\r\nxlog(\"L_INFO\", \"MY_LOG HANDLE_TLS sel(tls.peer.subject):             $sel(tls.peer.subject)\\n\");\r\nxlog(\"L_INFO\", \"MY_LOG HANDLE_TLS sel(tls.peer.subject.name):        $sel(tls.peer.subject.name)\\n\");\r\nxlog(\"L_INFO\", \"MY_LOG HANDLE_TLS sel(tls.peer.subject.common_name): $sel(tls.peer.subject.common_name)\\n\");\r\nxlog(\"L_INFO\", \"MY_LOG HANDLE_TLS sel(tls.peer.name):                $sel(tls.peer.subject.name)\\n\");\r\n```\r\n\r\nlogs:\r\n\r\n```\r\n12(24697) INFO: \u003cscript\u003e: MY_LOG HANDLE_TLS tls_peer_subject:                  \u003cnull\u003e\r\n12(24697) INFO: \u003cscript\u003e: MY_LOG HANDLE_TLS tls_peer_subject_uid:         \t \u003cnull\u003e\r\n12(24697) INFO: \u003cscript\u003e: MY_LOG HANDLE_TLS sel(tls.peer.subject.uid):         \u003cnull\u003e\r\n12(24697) INFO: \u003cscript\u003e: MY_LOG HANDLE_TLS sel(tls.peer.subject):             Sebastian Denz\r\n12(24697) INFO: \u003cscript\u003e: MY_LOG HANDLE_TLS sel(tls.peer.subject.name):        Sebastian Denz\r\n12(24697) INFO: \u003cscript\u003e: MY_LOG HANDLE_TLS sel(tls.peer.subject.common_name): Sebastian Denz\r\n12(24697) INFO: \u003cscript\u003e: MY_LOG HANDLE_TLS sel(tls.peer.name):                Sebastian Denz\r\n```\r\n\r\nRegarding to wireshark the uid is send like this:\r\nRelativeDistinguishedName item (itu-t.9.2342.19200300.100.1.1=denzs)"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1843#issuecomment-462251509"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1843#issuecomment-462251509",
"url": "https://github.com/kamailio/kamailio/issues/1843#issuecomment-462251509",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>