Open joao-tomas-albergaria123 opened 3 months ago
This seems like an Asterisk issue, or a problem with OpenSSL (Something compiled into Asterisk). Make sure you are on the latest version of OpenSSL, and then re-build Asterisk
HI, thank you for the response! As said i rebuilt the Asterisk project and used the latest version of OpenSSL, but the error still remains. Is it possible to use the browser-phone without the use of SSL's ?
There are two ways that SSL is used in Asterisk for WebRTC.
dtls_auto_generate_cert=yes
, or you can setup the certificates yourself. You can test to see if the handshake is failing by using wireshark to capture packets between the browser and Asterisk - it should be clear there. Other things to check: are you on the latest distribution of your OS. Its often that the SSL library only supports the OS to a certain point.
I would first trace the DTSL connection with wireshark and note the point of failure with the Certificate Handshake. Then try different distributions, OS, and versions until you find it working. I have used Ubuntu and Debian in various versions over the years.
Hi, recently I started developing an app with Asterisk v18.04 and decided to add the browser phone to it. And I stumbled across an error with the SSL certificates. I saw a few issues and stumbled upon one with the same error but didn't have a solution. Well, I have everything set in a docker, and I can send messages but when I try to contact MOH or any other extension that I have the call is not accepted, and the Asterisk logs display the same 3 errors:
[2024-03-27 23:42:29] ERROR[384]: iostream.c:647 ast_iostream_start_tls: Problem setting up ssl connection: error:00000001:lib(0):func(0):reason(1), Internal SSL error [2024-03-27 23:42:29] ERROR[384]: tcptls.c:179 handle_tcptls_connection: Unable to set up ssl connection with peer 'domain.com:port' [2024-03-27 23:42:29] ERROR[384]: iostream.c:552 ast_iostream_close: SSL_shutdown() failed: error:00000001:lib(0):func(0):reason(1), Internal SSL error
How can I solve this?