Repository navigation
fix(v2): order the wildcard as the domain for a no-CN request with a name and its own wildcard - #56
Open
spbsoluble wants to merge 3 commits into
Open
spbsoluble wants to merge 3 commits into
spbsoluble wants to merge 3 commits into
Conversation
…as a name and its own wildcard SANs example.com + *.example.com with no CN now send certificate.domain=*.example.com and additionalDomains=[example.com]. A plain domain with its wildcard in additionalDomains is rejected by CERTInext (EMS-1173). Requests with a CN or an explicit DomainName keep their domain.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A V2 SSL request with no CN whose SANs are a name and its own wildcard (
example.com+*.example.com) used to orderexample.comwith the wildcard inadditionalDomains. CERTInext rejects that shape (EMS-1173). The wildcard is now the order's domain and the plain name the additional domain, which is a wildcard UCC order covering both names.Fixes
certificate.domainis the wildcard and the plain name goes inadditionalDomains. Other SANs still go inadditionalDomains.DomainName, and SANs whose wildcard belongs to a different name.Chores
DomainNamerow indocsource/configuration.mddescribe the new behavior.V2SslComRetestTests, an opt-in SSL.com ordering retest (CERTINEXT_V2_SSLCOM_RETEST=1) that revokes the orders it places.Testing
CERTInext.Tests, Release).V2NoCnEnrollmentTests: wildcard-first SANs order the wildcard; CN = apex keeps the apex; the apex, its wildcard and another name keep every name on the order; an explicitDomainNameisn't changed; another name's wildcard isn't promoted; plus a 6-case theory forPromoteWildcardSanToDomain.Other
Stacked on #39 (
feat/v2-consolidated).