Skip to content

ordering_service: normalize ip identifiers#85

Merged
sorah merged 1 commit into
sorah:masterfrom
hanazuki:normalize-ip-san
Apr 6, 2026
Merged

ordering_service: normalize ip identifiers#85
sorah merged 1 commit into
sorah:masterfrom
hanazuki:normalize-ip-san

Conversation

@hanazuki

@hanazuki hanazuki commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

RFC 8738 requires IPv6 identifiers to follow the textual form defined in RFC 5952 §4 (lowercase hex, compressed). The raw input string was previously sent as-is to the CA.

This causes renewal to fail when a certificate was previously issued with an IPv6 SAN: OpenSSL renders IPv6 addresses with uppercase hex digits, so when acmesmith reads the existing certificate's SANs to build the renewal order, the uppercase form is passed through unchanged and rejected by the CA as a malformed identifier.

Fixup: #83

RFC 8738 requires IPv6 identifiers to follow the textual form defined
in RFC 5952 §4 (lowercase hex, compressed). The raw input string was
previously sent as-is to the CA.

This causes renewal to fail when a certificate was previously issued with
an IPv6 SAN: OpenSSL renders IPv6 addresses with uppercase hex digits, so
when acmesmith reads the existing certificate's SANs to build the renewal
order, the uppercase form is passed through unchanged and rejected by the
CA as a malformed identifier.

Fixup: sorah#83
@hanazuki hanazuki marked this pull request as draft April 6, 2026 09:29
@hanazuki hanazuki marked this pull request as ready for review April 6, 2026 09:30
@hanazuki

hanazuki commented Apr 6, 2026

Copy link
Copy Markdown
Contributor Author

It seems pebble does not enforce the address format requirement.

@sorah sorah merged commit 6533ead into sorah:master Apr 6, 2026
6 checks passed
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