Skip to content

Commit e4664ac

Browse files
authored
Merge pull request #68087 from gwynnemonahan/OSSM-3067
OSSM-3067 [DOC] Update security for jwksResolverCA
2 parents 1ef5a8e + 7a5e2b7 commit e4664ac

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * service_mesh/v2x/ossm-security.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="ossm-configuring-jwks-resolver-ca_{context}"]
7+
= Configuring JSON Web Key Sets resolver certificate authority
8+
9+
You can configure your own JSON Web Key Sets (JWKS) resolver certificate authority (CA) from the `ServiceMeshControlPlane` (SMCP) spec.
10+
11+
.Procedure
12+
13+
. Edit the `ServiceMeshControlPlane` spec file:
14+
+
15+
[source, yaml]
16+
----
17+
$ oc edit smcp <smcp-name>
18+
----
19+
20+
. Enable `mtls` for the data plane by setting the value of the `mtls` field to `true` in the `ServiceMeshControlPlane` spec, as shown in the following example:
21+
+
22+
[source,yaml]
23+
----
24+
spec:
25+
security:
26+
dataPlane:
27+
mtls: true # enable mtls for data plane
28+
# JWKSResolver extra CA
29+
# PEM-encoded certificate content to trust an additional CA
30+
jwksResolverCA: |
31+
-----BEGIN CERTIFICATE-----
32+
[...]
33+
[...]
34+
-----END CERTIFICATE-----
35+
...
36+
----
37+
38+
. Save the changes. {product-title} automatically applies them.
39+
40+
A `ConfigMap` such as `pilot-jwks-cacerts-<SMCP name>` is created with the CA `.pem data`.
41+
42+
.Example ConfigMap `pilot-jwks-cacerts-<SMCP name>`
43+
[source, yaml]
44+
----
45+
kind: ConfigMap
46+
apiVersion: v1
47+
data:
48+
extra.pem: |
49+
-----BEGIN CERTIFICATE-----
50+
[...]
51+
[...]
52+
-----END CERTIFICATE-----
53+
----

service_mesh/v2x/ossm-security.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ include::modules/ossm-security-auth-policy.adoc[leveloffset=+1]
3030

3131
include::modules/ossm-security-cipher.adoc[leveloffset=+1]
3232

33+
include::modules/ossm-configuring-jwks-resolver-ca.adoc[leveloffset=+1]
34+
3335
include::modules/ossm-security-cert-manage.adoc[leveloffset=+1]
3436

3537
include::modules/ossm-cert-manage-add-cert-key.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)