Closed
Bug 1153204
Opened 10 years ago
Closed 10 years ago
Firefox doesn't connect to https://www.deutschepost.de/ because its issuer certificate contains invalid dNSName entries with trailing spaces
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Apr
People
(Reporter: alexander.buchner, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0
Build ID: 20150403142420
Steps to reproduce:
Visit https://www.deutschepost.de/
Actual results:
Secure Connection Failed
An error occurred during a connection to www.deutschepost.de. security library: improperly formatted DER-encoded message. (Error code: sec_error_bad_der)
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.
Expected results:
Connect like Chrome does.
I guess that this is related to the Common Name in the certificate being " www.deutschepost.de" (starting with a space).
Comment 1•10 years ago
|
||
To throw my opinion in: I think it's actually a good thing that firefox is throwing an error. This is an invalid CN value, the cert violates the baseline requirements (which say that the CN must be one of the SAN values).
I think especially in crypto being more strict is better than being lax on verifying things. The fault here is the cert, not the browser.
Updated•10 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•10 years ago
|
||
Steve Roylance from GlobalSign figured it out:
https://groups.google.com/d/msg/mozilla.dev.security.policy/nEM8cfLf324/Lgs6rjXJEOIJ
The problem isn't the common name attribute of the subject (subject CN). First, when the certificate contains a subjectAltName extension that contains dNSName or iPAddress entries, Firefox will not look at the subject CN. That is, it follows the RFC 6125 rules, modified to account for iPAddress entries.
Secondly, when there is no subjectAltName extension, Firefox will look at the subject CN, but if the subject CN isn't a valid DNS name, it will just ignore it, assuming the subject CN wasn't trying to identify a domain name.
Based on what Steve said in dev.security.policy, this is getting fixed by the site operator. Moving to Tech Evangelism to track that happening.
Component: Untriaged → Desktop
OS: Linux → All
Product: Firefox → Tech Evangelism
Hardware: x86_64 → All
Target Milestone: --- → Apr
Version: 37 Branch → Firefox 37
Updated•10 years ago
|
Summary: Firefox doesn't connect to https://www.deutschepost.de/ → Firefox doesn't connect to https://www.deutschepost.de/ because its issuer certificate contains invalid dNSName entries with trailing spaces
Comment 3•10 years ago
|
||
Also, for future reference, two of the invalid dNSName entries in the issuer name constraints were "leserservice-media.de[SPACE]" and "leserservice-sicherheitsabo.de[SPACE]". I'm not sure if there were other ones.
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
Just to keep this as a reference attaching the intermediate and the leaf.
Comment 6•10 years ago
|
||
Just to let everyone know that I've returned from vacation and verified the issue and reached out to the Deutsche Post team. Initial e-mails show my main contact out of office for the next week (until the 20th).
![]() |
||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 8•10 years ago
|
||
I have the same problem with https://mobil.dhl.de/ .
Is this the same bug/problem?
Comment 9•10 years ago
|
||
(In reply to Alexander Buchner from comment #8)
> I have the same problem with https://mobil.dhl.de/ .
> Is this the same bug/problem?
Bug 1175423
Assignee | ||
Updated•6 years ago
|
Product: Tech Evangelism → Web Compatibility
You need to log in
before you can comment on or make changes to this bug.
Description
•