certificate mismatch domain name ending with hyphen
Categories
(NSS :: Libraries, defect)
Tracking
(firefox78 wontfix, firefox79 wontfix, firefox80 wontfix)
People
(Reporter: zbinlin, Unassigned)
Details
(Keywords: parity-chrome)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0
Steps to reproduce:
Enter https://test-.github.io/ in browser
Actual results:
Show Error code: SSL_ERROR_BAD_CERT_DOMAIN
Expected results:
Show 404
Comment 1•5 years ago
|
||
Hi, Thanks for taking the time to report this issue, I will set a component for it in order for our dev team to take a look at this, also I think it might be related to Bug 1627800 but I'm not entirely sure, please change it to the Security Component if its more suitable for this issue.
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Labels must not end with a hyphen: https://searchfox.org/mozilla-central/rev/d2cec90777d573585f8477d5170892e5dcdfb0ab/security/nss/lib/mozpkix/lib/pkixnames.cpp#2013
There's more discussion in the linked bug, including Chrome's effort to also enforce the DNS spec by prohibiting trailing hyphens in sub-labels.
Updated•5 years ago
|
Description
•