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
= 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`.
0 commit comments