-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reorder SAN for firefox trust #42
Conversation
Oddly, it was this one I wasn't able to reproduce. Firefox seemed to trust domains the SANs in that order for me. This is on Windows 10 Home, from an image I got from here: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/ Can you give me a repro with versions? |
Check out https://github.com/Js-Brecht/firefox-cert-trust-issue The directory |
Check out the error it gives me. It's so strange to me that it says it's a bad domain...
yet you'll notice that I am at |
It's possibly only reproducible if it's a starred cert on a top level domain, like |
I didn't think to check to see if a subdomain would work with the SAN reordered (wildcard last). I'll check that out to see if it causes any problems |
Okay, just verified that reordering the SAN doesn't cause any issues for subdomains. |
Still can't reproduce it, but I also can't find any regressions from this change, so I'm gonna merge it. |
Bumps [@types/mkdirp](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mkdirp) from 0.5.2 to 1.0.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mkdirp) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Getting error
SSL_ERROR_BAD_CERT_DOMAIN
in Firefox on Windows.For whatever reason, if the wildcard domain is the first domain in the list, Firefox will generate the error, even though the necessary host is, in fact, in the list. Putting the domain that matches the CN first seems to work, and Firefox trusts the certificate. 🤷♂