Skip to content

HDDS-16034. Certificates omit DNS SANs on clusters with non-public hostname suffixes - #10908

Open
ss77892 wants to merge 1 commit into
apache:masterfrom
ss77892:HDDS-16034
Open

HDDS-16034. Certificates omit DNS SANs on clusters with non-public hostname suffixes#10908
ss77892 wants to merge 1 commit into
apache:masterfrom
ss77892:HDDS-16034

Conversation

@ss77892

@ss77892 ss77892 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

PR replaces the public-suffix test with an RFC 1123 hostname syntax check in a shared helper, applied symmetrically by both builders and by the CA. Internal suffixes and single-label names become legal; malformed, wildcard, and IP-literal values stay rejected. No new configuration key and no wire change. Certificates on public-suffix clusters are unchanged and need no reissue.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-16034

How was this patch tested?

  1. UT
  2. Local cluster with private domain (.internal). Without the patch, the cluster failed to start.

…stname suffixes

Co-authored-by: Claude Code (Claude Opus 5)
@adoroszlai adoroszlai changed the title HDDS-16034: Certificates omit DNS SANs on clusters with non-public hostname suffixes HDDS-16034. Certificates omit DNS SANs on clusters with non-public hostname suffixes Jul 30, 2026
@ss77892

ss77892 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

The failure is not related to the fix and passed here https://github.com/ss77892/ozone/actions/runs/30554604238

@fapifta fapifta left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for this improvement @ss77892. The changes look good to me.

@ss77892

ss77892 commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

@fapifta Thank you for the review. The failure is still unrelated. Filed HDDS-16081 for that.

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.

2 participants