Closed Gaai closed 1 year ago
I've found this and updated my question above with the additional info I've found here: https://github.com/espressif/esp-adf/issues/943#issue-1549905944
Hi @Gaai
About tls config, you can refer to IDF http client example to configure it. ref : https://github.com/espressif/esp-idf/blob/master/examples/protocols/esp_http_client/main/esp_http_client_example.c
Tls uri base on this .
Best Regards.
Will check it out soon as I get back. Thanks!
This topic has become inactive so I'm going to close the issue. Please reopen this if you have any questions or need any further assistance.
Encrypting voip data makes sense in almost any practical context right? Looking through the protocol code and libraries I see TLS and SSL certificates mentioned here and there. It seems TLS is supported for the sip protocol. But I am not sure how to set it up. Would be great if you could offer some documentation on how to get it working with the project examples for sip and rtc.
So far I've found that there are multiple certificate settings in sdconfig. By default the ESP-TLS section (there are more) looks like this:
So I'd need to change these in order to use tls.
Then there is the esp_rtc_config_t struct in sip_service.c. This looks like this by default (I've added the missing parameters commented out):
So now I need to config those parameters and populate them with correct keys and certficate data somehow. But how to do this in a safe way? The use of the certification bundle seems enabled in menuconfig by default already.
Lastly I would need to edit the uri to use tls instead of udp I guess? Some documentation on this all would be very helpful.