You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SPIFFE specification denotes that X.509 SVIDs should contain a single URI SAN entry containing a SPIFFEID for certificate verification purposes.
At the moment, tls.Config does not have a means to configure the inspection of the URI SAN of a given certificate. A common workaround is to use ServerName with an expected value of a DNS SAN, but it would be useful to be able to optionally verify the SPIFFEID of a returned certificate directly with the URI entry.
This could be achieved by adding a new field (something like ExpectedSPIFFEID or similar) to tls.Config, which would be used by the client if provided in the config, and making the requisite handling changes in the verification process.
The text was updated successfully, but these errors were encountered:
jsnctl
changed the title
proposal: cyrpto/tls: Supoort for optional SPIFFEID in tls.Config
proposal: cyrpto/tls: Support for optional SPIFFEID in tls.Config
Apr 15, 2025
jsnctl
changed the title
proposal: cyrpto/tls: Support for optional SPIFFEID in tls.Config
proposal: crypto/tls: Support for optional SPIFFEID in tls.Config
Apr 15, 2025
Proposal Details
The SPIFFE specification denotes that X.509 SVIDs should contain a single URI SAN entry containing a SPIFFEID for certificate verification purposes.
At the moment,
tls.Config
does not have a means to configure the inspection of the URI SAN of a given certificate. A common workaround is to useServerName
with an expected value of a DNS SAN, but it would be useful to be able to optionally verify the SPIFFEID of a returned certificate directly with the URI entry.This could be achieved by adding a new field (something like
ExpectedSPIFFEID
or similar) totls.Config
, which would be used by the client if provided in the config, and making the requisite handling changes in the verification process.The text was updated successfully, but these errors were encountered: