Closed
Bug 1137432
Opened 10 years ago
Closed 10 years ago
wildcard domain name matching fails with an underscore in the subdomain
Categories
(Core :: Security, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1136616
People
(Reporter: wweilep, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0
Build ID: 20150222232811
Steps to reproduce:
Attempted to view ssl content on a subdomain with an underscore in the subdomain portion of the url.
In this case, I am using s3 on aws.
https://a_b.amazonaws.com/public/images/image.jpg will return:
a_b.s3.amazonaws.com uses an invalid security certificate. The certificate is only valid for the following names: *.s3.amazonaws.com, s3.amazonaws.com (Error code: ssl_error_bad_cert_domain)
But if you alternately use other characters such as a dash ( a-b.s3.amazonaws.com ) the certificate successfully validates.
The wildcard ssl was properly tested to be working correctly in 31 Branch, and 33 Branch, but broken in 36 Branch. We suspect 35 Branch was working, but have not yet confirmed.
Actual results:
ssl_error_bad_cert_domain
full text:
a_b.s3.amazonaws.com uses an invalid security certificate. The certificate is only valid for the following names: *.s3.amazonaws.com, s3.amazonaws.com (Error code: ssl_error_bad_cert_domain)
Expected results:
Wildcard SSL Certificate successfully verified, content displayed.
I made a slight mistake when typing the test case url, https://a_b.amazonaws.com/public/images/image.jpg should actually be https://a_b.s3.amazonaws.com/public/images/image.jpg (missed an entire subdomain level of .s3. ).
Updated•10 years ago
|
Component: Untriaged → Security
OS: Windows 8.1 → All
Product: Firefox → Core
Hardware: x86_64 → All
See Also: → 1136838
![]() |
||
Comment 4•10 years ago
|
||
Thanks for filing this. We're tracking the issue in bug 1136616.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•