Skip to content

Commit 0c9f075

Browse files
committed
gep: provisional GEP for certificate pinning (#4078)
Signed-off-by: Norwin Schnyder <[email protected]>
1 parent 78f48a1 commit 0c9f075

File tree

3 files changed

+86
-0
lines changed

3 files changed

+86
-0
lines changed

geps/gep-4078/index.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# GEP-4078: Certificate Pinning for Client Certificate Validation
2+
3+
* Issue: [#4078](https://github.com/kubernetes-sigs/gateway-api/issues/4078)
4+
* Status: Provisional
5+
6+
(See [status definitions](../overview.md#gep-states).)
7+
8+
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD",
9+
"SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this
10+
document are to be interpreted as described in BCP 14 ([RFC8174]) when, and
11+
only when, they appear in all capitals, as shown here.
12+
13+
[RFC8174]: https://www.rfc-editor.org/rfc/rfc8174
14+
15+
## What
16+
Enhance the existing Client Certificate Validation defined in [GEP-91](../gep-91/index.md) by introducing support for certificate pinning. This allows specifying one or more certificate or public key hashes (SPKI) that are considered valid for client connections. During TLS client authentication, the Gateway will validate not only against the configured CAs, but also against the pinned certificates or keys. This provides a mechanism to restrict allowed clients to a narrowly defined set of certificates, even if the CA trust domain is broad.
17+
18+
## Why
19+
While [GEP-91](../gep-91/index.md) enables client certificate validation against a CA, in practice many operators rely on large organizational CAs or even on public CAs. These often cover many certificates and, as a result, unintentionally expand the trust boundary. This limitation becomes particularly significant when client certificates are used not only for encryption but also for authentication. In these cases, operators may want to restrict access to an explicit set of identities, rather than the entire population served by a CA.
20+
In addition, certificate pinning strengthens security by reducing exposure to rogue certificates and mitigating the risk of man-in-the-middle (MITM) attacks.
21+
22+
## Who: Beneficiaries
23+
* **Application Developers**: Can use certificate pinning as a lightweight alternative to JWTs or other token systems, authenticating users or devices directly through TLS without additional infrastructure.
24+
* **Platform Operators/Administrators**: Gain a standardized way to enforce fine-grained client restrictions, even when using broad or public CAs, which improves security.
25+
* **Security and Compliance Teams**: Benefit from a certificate-bound authentication mechanism that limits access to explicitly approved identities, aligning with regulatory and organizational policies.

geps/gep-4078/metadata.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
apiVersion: internal.gateway.networking.k8s.io/v1alpha1
2+
kind: GEPDetails
3+
number: 4078
4+
name: Certificate Pinning for Client Certificate Validation
5+
status: Provisional
6+
# Any authors who contribute to the GEP in any way should be listed here using
7+
# their GitHub handle.
8+
authors:
9+
- snorwin
10+
relationships:
11+
# obsoletes indicates that a GEP makes the linked GEP obsolete, and completely
12+
# replaces that GEP. The obsoleted GEP MUST have its obsoletedBy field
13+
# set back to this GEP, and MUST be moved to Declined.
14+
obsoletes: {}
15+
obsoletedBy: {}
16+
# extends indicates that a GEP extends the linked GEP, adding more detail
17+
# or additional implementation. The extended GEP MUST have its extendedBy
18+
# field set back to this GEP.
19+
extends:
20+
- number: 91
21+
name: Client Certificate Validation for TLS terminating at the Gateway Listener
22+
extendedBy: {}
23+
# seeAlso indicates other GEPs that are relevant in some way without being
24+
# covered by an existing relationship.
25+
seeAlso: {}
26+
# references is a list of hyperlinks to relevant external references.
27+
# It's intended to be used for storing GitHub discussions, Google docs, etc.
28+
references: {}
29+
# featureNames is a list of the feature names introduced by the GEP, if there
30+
# are any. This will allow us to track which feature was introduced by which GEP.
31+
# This is the value added to supportedFeatures and the conformance tests, in string form.
32+
featureNames: {}
33+
# changelog is a list of hyperlinks to PRs that make changes to the GEP, in
34+
# ascending date order.
35+
changelog: {}

geps/gep-91/metadata.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,29 @@ name: Client Certificate Validation for TLS terminating at the Gateway Listener
55
status: Provisional
66
authors:
77
- arkodg
8+
relationships:
9+
# obsoletes indicates that a GEP makes the linked GEP obsolete, and completely
10+
# replaces that GEP. The obsoleted GEP MUST have its obsoletedBy field
11+
# set back to this GEP, and MUST be moved to Declined.
12+
obsoletes: {}
13+
obsoletedBy: {}
14+
# extends indicates that a GEP extends the linked GEP, adding more detail
15+
# or additional implementation. The extended GEP MUST have its extendedBy
16+
# field set back to this GEP.
17+
extends:
18+
- number: 4078
19+
name: Certificate Pinning for Client Certificate Validation
20+
extendedBy: {}
21+
# seeAlso indicates other GEPs that are relevant in some way without being
22+
# covered by an existing relationship.
23+
seeAlso: {}
24+
# references is a list of hyperlinks to relevant external references.
25+
# It's intended to be used for storing GitHub discussions, Google docs, etc.
26+
references: {}
27+
# featureNames is a list of the feature names introduced by the GEP, if there
28+
# are any. This will allow us to track which feature was introduced by which GEP.
29+
# This is the value added to supportedFeatures and the conformance tests, in string form.
30+
featureNames: {}
31+
# changelog is a list of hyperlinks to PRs that make changes to the GEP, in
32+
# ascending date order.
33+
changelog: {}

0 commit comments

Comments
 (0)