zhzhy86 / webrtc2sip

Automatically exported from code.google.com/p/webrtc2sip
0 stars 0 forks source link

DTLS handshake failed [error:14102418:SSL routines:DTLS1_READ_BYTES:tlsv1 alert unknown ca] #159

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Calling to/from Chrome for Android.

What is the expected output? What do you see instead?
Error connecting audio stream.
Connection working fine for Firefox for Android and Chrome/Firefox for 
Linux/Windows without problems.

What version of the product are you using? On what operating system?
1. Asterisk 11.10
2. Webrtc2sip 2.6
3. Ubuntu 12.04 LTS
4. Valid RapidSSL or GeoTrust certificates tested
5. Chrome for Android 35.0.1916.141

Please provide server logs with DEBUG level equal to INFO
***ERROR: function: "tnet_dtls_socket_do_handshake()" 
file: "src/tls/tnet_dtls.c" 
line: "510" 
MSG: DTLS handshake failed [error:14102418:SSL routines:DTLS1_READ_BYTES:tlsv1 
alert unknown ca]

Please provide browser logs
sips:martinez001@xxxxx;rtcweb-breaker=yes;click2call=no;transport=wss SIP/2.0
Via: SIP/2.0/WSS 10.55.1.43:10062;rport;branch=z9hG4bK-1556972513
From: <sip:0961124015@sip.xxxxxx.com>;tag=344574117
To: "martinez001"<sip:martinez001@sip.xxxxx.com>;tag=DTdVFybsIJpMn72zOHr2
Call-ID: d542a6f0-0b5c-dbb2-ed13-e377ad633f40
CSeq: 136201592 BYE
Content-Length: 0
Max-Forwards: 70
Route: <sip:10.55.0.38:33476;transport=wss;lr>
User-Agent: webrtc2sip Media Server 2.6.0
Reason: text="DTLS-SRTP handshake failed";cause=488;text="DTLS-SRTP handshake 
failed"

Original issue reported on code.google.com by vicsa...@gmail.com on 16 Jun 2014 at 7:06

GoogleCodeExporter commented 8 years ago
this issue is present in chrome for android, also in the beta (36.*) release, 
it seems that is not fault of the configuration in webrtc2sip or the SSL 
certificates

Connection working fine for Firefox for Android  --> Also in beta

Connection works fine for Desktop in (Windows, Linux, Mac) in :
- Chrome
- Firefox
- Opera

Mamadou, could you please give us your advice?

Merci Bcp!

Original comment by alexpacb...@gmail.com on 1 Jul 2014 at 5:24