[sr-dev] [kamailio/kamailio] TLS: same TLSc is used for different outbound connection when it is switched with tls_set_connect_server_id() (#2760)

Tim Chubb notifications at github.com
Fri Jun 4 10:03:37 CEST 2021


@arkadiam Pretty sure we are both trying to do same thing judging by your dispatcher and routing config, multi domain telephony integration with a cloud comms platform? 

Its frustrating that SNI is being flakey as it works very nicely if you have a single cert with multiple SAN's defined but that less than ideal from a management point of view (but doesnt seem to have the performance hit loading multiple certs has #2312 )

For sake of completeness my virtually identical config is as follows:
```event_route[tm:local-request] {
    if(is_method("OPTIONS") && $ru =~ "vendor.com") {
                xlogl("L INFO", "Dispatcher Pinging ruri: $ru turi: $tu furi: $fu");
                append_hf("Contact: <sip:$fd:5061;transport=tls>\r\n");
                tls_set_connect_server_id($fd);
		xlogl("L INFO","SNI ID: $fd");
    }
} 
```

-- 
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/2760#issuecomment-854463465
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210604/50a5a274/attachment.htm>


More information about the sr-dev mailing list