Hi Olle!
Thanks for replying!
Sadly it doesnt...
```
xlog("L_INFO", "MY_LOG HANDLE_TLS tls_peer_subject:
$tls_peer_subject\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");
xlog("L_INFO", "MY_LOG HANDLE_TLS sel(tls.peer.c):
$sel(tls.peer.subject.c)\n");
xlog("L_INFO", "MY_LOG HANDLE_TLS sel(tls.peer.o):
$sel(tls.peer.subject.o)\n");
```
Output:
```
Feb 08 13:27:28 edgar-dev kamailio[7213]: 11(7226) DEBUG: tls [tls_select.c:778]:
pv_comp(): ind_local = 611(7226) DEBUG: tls [tls_select.c:717]: get_comp(): Element
Unknown not found in certificate subject/issuer
Feb 08 13:27:28 edgar-dev kamailio[7213]: 11(7226) INFO: <script>: MY_LOG HANDLE_TLS
tls_peer_subject: <null>
Feb 08 13:27:28 edgar-dev kamailio[7213]: 11(7226) DEBUG: <core>
[core/select.c:412]: run_select(): Calling SELECT 0x7fc9e885d3e0
Feb 08 13:27:28 edgar-dev kamailio[7213]: 11(7226) INFO: <script>: MY_LOG HANDLE_TLS
sel(tls.peer.subject): Sebastian Denz
Feb 08 13:27:28 edgar-dev kamailio[7213]: 11(7226) DEBUG: <core>
[core/select.c:412]: run_select(): Calling SELECT 0x7fc9e88a8fa8
Feb 08 13:27:28 edgar-dev kamailio[7213]: 11(7226) INFO: <script>: MY_LOG HANDLE_TLS
sel(tls.peer.subject.name): Sebastian Denz
Feb 08 13:27:28 edgar-dev kamailio[7213]: 11(7226) DEBUG: <core>
[core/select.c:412]: run_select(): Calling SELECT 0x7fc9e88a96a8
Feb 08 13:27:28 edgar-dev kamailio[7213]: 11(7226) INFO: <script>: MY_LOG HANDLE_TLS
sel(tls.peer.subject.common_name): Sebastian Denz
Feb 08 13:27:28 edgar-dev kamailio[7213]: 11(7226) DEBUG: <core>
[core/select.c:412]: run_select(): Calling SELECT 0x7fc9e88a8fa8
Feb 08 13:27:28 edgar-dev kamailio[7213]: 11(7226) INFO: <script>: MY_LOG HANDLE_TLS
sel(tls.peer.name): Sebastian Denz
Feb 08 13:27:28 edgar-dev kamailio[7213]: 11(7226) DEBUG: <core>
[core/select.c:412]: run_select(): Calling SELECT 0x7fc9e88a9ff0
Feb 08 13:27:28 edgar-dev kamailio[7213]: 11(7226) DEBUG: tls [tls_select.c:717]:
get_comp(): Element CountryName not found in certificate subject/issuer
Feb 08 13:27:28 edgar-dev kamailio[7213]: 11(7226) INFO: <script>: MY_LOG HANDLE_TLS
sel(tls.peer.c): <null>
Feb 08 13:27:28 edgar-dev kamailio[7213]: 11(7226) DEBUG: <core>
[core/select.c:412]: run_select(): Calling SELECT 0x7fc9e88aa6e8
Feb 08 13:27:28 edgar-dev kamailio[7213]: 11(7226) INFO: <script>: MY_LOG HANDLE_TLS
sel(tls.peer.o): Company
Feb 08 13:27:28 edgar-dev kamailio[7213]: 11(7226) DEBUG: <core>
[core/select.c:412]: run_select(): Calling SELECT 0x7fc9e88a96a8
```
--
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-461787750