anchor.diff:  apiVersion: maistra.io/v2
   kind: ServiceMeshControlPlane
   spec:
  -  dataPlane:
  -    mtls: true
  +  security:
  +    dataPlane:
  +      mtls: true
   ----
  
positive.code:     --from-file=<path>/cert-chain.pem
  ----
  +
  . In the `ServiceMeshControlPlane` resource set `spec.security.dataPlane.mtls: true` to `true` and configure your certificateAuthority like the following example. The default `rootCADir` is `/etc/cacerts`. You do not need to set the `privateKey` if the key and certs are mounted in the default location.  {SMProductShortName} reads the certificates and key from the secret-mount files.
  +
  [source,yaml]
  ----
  
negative.code: * Install {SMProductName} with mutual TLS enabled to configure certificates.
  * This example uses the certificates from the link:https://github.com/maistra/istio/tree/maistra-{MaistraVersion}/samples/certs[Maistra repository]. For production, use your own certificates from your certificate authority.
  * Deploy the Bookinfo sample application to verify the results with these instructions.
  * OpenSSL is required to verify certificates.
  
  [id="ossm-cert-manage-add-cert-key_{context}"]
  == Adding an existing certificate and key
  
  To use an existing signing (CA) certificate and key, you must create a chain of trust file that includes the CA certificate, key, and root certificate. You must use the following exact file names for each of the corresponding certificates. The CA certificate is named `ca-cert.pem`, the key is `ca-key.pem`, and the root certificate, which signs `ca-cert.pem`, is named `root-cert.pem`. If your workload uses intermediate certificates, you must specify them in a `cert-chain.pem` file.
  
  . Save the example certificates from the link:https://github.com/maistra/istio/tree/maistra-{MaistraVersion}/samples/certs[Maistra repository] locally and replace `<path>` with the path to your certificates.
  
  . Create a secret named `cacert` that includes the input files `ca-cert.pem`, `ca-key.pem`, `root-cert.pem` and `cert-chain.pem`.
  +
  [source,terminal]
  ----
  