Skip to content

fixes #1330 check for SANs conflicts on startup#3388

Open
andrewpmartinez wants to merge 1 commit intomainfrom
fix.openziti.ziti.1330.verif.sans.on.startup
Open

fixes #1330 check for SANs conflicts on startup#3388
andrewpmartinez wants to merge 1 commit intomainfrom
fix.openziti.ziti.1330.verif.sans.on.startup

Conversation

@andrewpmartinez
Copy link
Member

  • requires xweb dep update

@andrewpmartinez andrewpmartinez requested review from a team as code owners November 21, 2025 15:50
conflictsStr += conflict.Error()
}

return nil, fmt.Errorf("conflicting SANs found in root [identity] section server certificate, ensure each server certificate is the sole representation of each DNS/IP SAN: %s", conflictsStr)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it only check the root identity section? it'd have to synthesize all of them or does that happen during config-time?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other sections are xweb and handled by this PR: openziti/xweb#31

Copy link
Member

@qrkourier qrkourier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In case of a misconfigured controller with at least one conflicting SAN, will upgrading to this revision cause the controller to abort/panic during startup, or emit a warning?

If the upgraded controller will no longer run when misconfigured, the steps to recover from the outage include reissuing the conflicting server certificates which are bound to the controller's TLS listeners, correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants