Proposal Details
Reopening #55897 with more context.
We use otherName (RFC 5280 4.2.1.6) as an alternative to dNSName since underscores are forbidden from being used in dNSName entries (Ballot SC12: Sunset of Underscores in dNSNames).
Why we use underscores? We use an internal PKI to sign certificates on protobuf namespaces, which allow underscores.
This SAN is generally adopted by PKI tools (e.g. vault API other_sans) and major proxies (e.g. envoy API OTHER_NAME).
we generally treat crypto/x509 as supporting what we need for the web, not for all of X.509
@rsc not sure to understand what is the scope of "web" here. FWIW we use gRPC APIs from web browser.
Proposal Details
Reopening #55897 with more context.
We use otherName (RFC 5280 4.2.1.6) as an alternative to dNSName since underscores are forbidden from being used in dNSName entries (Ballot SC12: Sunset of Underscores in dNSNames).
Why we use underscores? We use an internal PKI to sign certificates on protobuf namespaces, which allow underscores.
This SAN is generally adopted by PKI tools (e.g. vault API
other_sans) and major proxies (e.g. envoy APIOTHER_NAME).@rsc not sure to understand what is the scope of "web" here. FWIW we use gRPC APIs from web browser.