Closed
Bug 828027
Opened 13 years ago
Closed 13 years ago
DTLSv1 Bad Certificate issue (DTLS-SRTP)
Categories
(Core :: WebRTC, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: bossiel, Assigned: ekr)
Details
(Whiteboard: [webrtc][blocking-webrtc+][qa-])
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11
Steps to reproduce:
Trying to support WebRTC implementation from Firefox in SIP application. The SIP client is developed in JavaScript on running on Firefox Nightly 20.0a1 (Windows Vista or 8). I'm making a video call to a gateway.
Actual results:
The DTLS handshaking fail: When Firefox receives the DTLSv1 certificates it report an error (BAD certificate).
Attached two files:
- nightly_dtls_sip.txt: contains SIP trace with SDP from Firefox and the gateway. The INVITE is from Firefox.
- Nightly_dtls.pcap: contains STUN, DTLS, RTP... pkts. The DTLS "client hello message" is from Firefox
I've made some progress: It's a case-sensitivity comparison issue in Firefox.
Fingerprint hash "SHA-256" lead to "BAD certificate" while "sha-256" works (at least I receive the encrypted message).
| Assignee | ||
Comment 2•13 years ago
|
||
Based on RFC 4234, I think you may be correct:
NOTE:
ABNF strings are case-insensitive and the character set for these
strings is us-ascii.
Hence:
rulename = "abc"
Before I change this, I'd like to get a second opinion. Jesup, abr?
and:
rulename = "aBc"
Comment 3•13 years ago
|
||
Agreed, If this is specified in ABNF grammar, it's almost certainly case-insensitive.
Whiteboard: [webrtc][blocking-webrtc-]
Updated•13 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•13 years ago
|
Whiteboard: [webrtc][blocking-webrtc-] → [webrtc][blocking-webrtc+]
Comment 4•13 years ago
|
||
-> ekr
We can reassign this to anyone, this should be an easy fix.
Assignee: nobody → ekr
| Assignee | ||
Comment 5•13 years ago
|
||
| Assignee | ||
Updated•13 years ago
|
Attachment #701842 -
Flags: review?(ethanhugg)
Comment 6•13 years ago
|
||
Comment on attachment 701842 [details] [diff] [review]
Lower-case digest algorithm names
Review of attachment 701842 [details] [diff] [review]:
-----------------------------------------------------------------
lgtm. No new warnings on Linux build. Feel free to checkin? to me if that's convenient.
Attachment #701842 -
Flags: review?(ethanhugg) → review+
| Assignee | ||
Updated•13 years ago
|
Attachment #701842 -
Flags: checkin?(ethanhugg)
Comment 7•13 years ago
|
||
Comment on attachment 701842 [details] [diff] [review]
Lower-case digest algorithm names
https://hg.mozilla.org/integration/mozilla-inbound/rev/145fb616b12a
Attachment #701842 -
Flags: checkin?(ethanhugg) → checkin+
Comment 8•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Updated•13 years ago
|
Whiteboard: [webrtc][blocking-webrtc+] → [webrtc][blocking-webrtc+][qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•