hi
i want to create srtp WebRTC connection.
1- i create a pem file using this command.
./ast_tls_cert -C pbx.mycompany.com -O "My Super Company" -d /etc/asterisk/keys
2- my http.conf is.
[general]
enabled=yes
bindaddr=0.0.0.0
bindport=8088
tlsenable=yes
tlsbindaddr=0.0.0.0:8089
tlscertfile=/etc/asterisk/keys/asterisk.pem
tlsprivatekey=/etc/asterisk/keys/asterisk.pem
2- my client side javascript library is sipjs.
3- in chorme and firefox browsers all things work very nice when calling web WebRTC socket server like this.
wss://mydomain.com:8089/ws
4- but in Safari browser when calling wss://mydomain.com:8089/ws
WebRTC server, the connection not established and in Asterisk CLI this errors will be shown.
[Nov 19 06:24:34] ERROR[5885]: tcptls.c:636 handle_tcptls_connection: Problem setting up ssl connection: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol
[Nov 19 06:24:34] WARNING[5885]: tcptls.c:722 handle_tcptls_connection: FILE * open failed!
how can i pass this error using safari browser?
thanks