Closed Bug 828027 Opened 13 years ago Closed 13 years ago

DTLSv1 Bad Certificate issue (DTLS-SRTP)

Categories

(Core :: WebRTC, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21

People

(Reporter: bossiel, Assigned: ekr)

Details

(Whiteboard: [webrtc][blocking-webrtc+][qa-])

Attachments

(2 files)

Attached file nightly_dtls.zip
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).
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"
Agreed, If this is specified in ABNF grammar, it's almost certainly case-insensitive.
Whiteboard: [webrtc][blocking-webrtc-]
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [webrtc][blocking-webrtc-] → [webrtc][blocking-webrtc+]
-> ekr We can reassign this to anyone, this should be an easy fix.
Assignee: nobody → ekr
Attachment #701842 - Flags: review?(ethanhugg)
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+
Attachment #701842 - Flags: checkin?(ethanhugg)
Attachment #701842 - Flags: checkin?(ethanhugg) → checkin+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Whiteboard: [webrtc][blocking-webrtc+] → [webrtc][blocking-webrtc+][qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: